-
Notifications
You must be signed in to change notification settings - Fork 482
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Permission denied - /.bundle (Errno::EACCES) when executing rails-composer using the conventional approach #138
Comments
What are the Unix permissions for each directory? |
Did you ever solve this problem? I'm having the same issue |
I have got the same problem. I am working as user: axel ruby is installed with rvm and it is under my user folder ( /home/axel/.rvm/....) rails new myapp works perfect, i also can add something to the gemfile and make an bundle install. Only with the composer it fails. |
Sorry for the late response. I'm owner of all directories. I don't believe it is a permissions related problem since the other approach worked correctly. Looking at the
@davidynamic and @AxelWalsleben: If you guys are stuck in this problem, you can use the second possible method creating an empty application root directory and then calling
Cheers, |
@trein: The Second Method works also not. |
i patched the source, that the --path at bundle install is set, but that creates the same error. |
I've released a new version that eliminates the 'bundle_path' hidden preference. Let me know if the issue is resolved, please. |
@DanielKehoe I tried again today after your, but same problem. So, for some reason
|
I had the same problem. I still don't know the reason but everything started working after running |
@IvanMisyats is right. Just tested here and it worked. Thanks very much. If this solution works for the other people that were having trouble with that, we can close this issue as invalid. What do you guys think? |
What version of RubyGems were you using before the gem update?
|
Sorry about that, but I did not check it before running |
After gem update, it also works in my case. |
I'll close this issue now. Please reopen if anyone is still encountering it. |
Does this have to do with setting the linux home directory in ~/.profile? fixed with this url given from ruby --debug |
I had this issue and similar when moving to a new server. I had installed rvm, ruby and rails as root. I uninstalled them and reinstalled them as my self and the errors disappeared. |
[SOLVED] |
please reopen, this is not solved to reproduce & verify, please run this Dockerfile here is the |
whats that mean.? Errno::EACCES: Permission denied - /Users/spaceodyssey/Desktop/hipster/vendor/bundle/ruby/2.0.0/gems/hitimes-1.2.2/.travis.yml |
@SpaceG
|
Woah that worked for me, thanks @itsNikolay FYI the error message I was getting was from of a Snow Plow installation on an EC2 instance with Amazon Linux The message was:
The command I ran to fix was :
|
Hmm... I thought this is about fixing, and not for providing support... my2cents |
I'm leaving this issue open because it seems some developers are encountering this issue. As far as I can tell, it is a local configuration issue and there's nothing to fix in Rails Composer. As long as people are encountering the issue, it's helpful that people are offering ideas for resolution, and hopefully it will mean everyone will have success using Rails Composer. |
I'm unsure of the real cause of this issue but running as |
I faced the same problem. I'n my case i needed to run my comman from directory i've permited do "mkdir" command. |
Hi.
I tried to create a new application using rails-composer, but I keep receiving a permission denied error.
However, if I follow the second method by creating an empty application root directory (commands below), it does not happen.
Reference: http://railsapps.github.io/installrubyonrails-mac.html
The error is the following:
The text was updated successfully, but these errors were encountered: