0

I am getting the below error while installing Rails I am getting the below error after I run gem install rails

ERROR:  While executing gem ... (Gem::FilePermissionError)
    You don't have write permissions for the /Library/Ruby/Gems/2.0.0 directory.
Jay
  • 2,485
  • 6
  • 28
  • 34
  • I'm still learning CLI Linux, but I think this means your user does not have [CHMOD](http://en.wikipedia.org/wiki/Chmod) permissions for that directory. You'll either need to use `root` or `sudo`, as mentioned in the ansewr – Richard Peck Apr 12 '14 at 10:03

1 Answers1

0

Have you tried typing:

$ sudo gem install rails

Similar Quesion: ERROR: While executing gem ... (Gem::FilePermissionError)

Community
  • 1
  • 1
cjn
  • 1,331
  • 1
  • 16
  • 22