Created
March 21, 2014 10:51
-
-
Save croz1007/9683690 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MyMBPro:~ skip1007$ gem install rails | |
ERROR: While executing gem ... (Errno::EACCES) | |
Permission denied @ rb_sysopen - /Users/skip1007/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/rails-4.0.4/README.md |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Full error while running the rails new blog command to learn from tutorial.
Errno::EACCES: Permission denied @ rb_sysopen - /Users/skip1007/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/rails-4.0.4/README.md
An error occurred while installing rails (4.0.4), and Bundler cannot continue.
Make sure that
gem install rails -v '4.0.4'
succeeds before bundling.MyMBPro:blog skip1007$ gem install rails -v 4.0.4
ERROR: While executing gem ... (Errno::EACCES)
Permission denied @ rb_sysopen - /Users/skip1007/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/rails-4.0.4/README.md
When I run rails -v I get:
Could not find gem 'rails (= 4.0.4) ruby' in the gems available on this machine.
Run
bundle install
to install missing gems.When I run ruby -v i get:
ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-darwin13.0]