Rails 2 :: OSX Gem update --system :: Permissions Help


I am trying to update my system to Rails 2. I followed the excellent
instructions at Hivelogic to get rails running on my mac. However, I
am getting a permissions error that I am unsure how to handle.

$ script/server
Rails requires RubyGems >= 0.9.4 (you have 0.9.2). Please gem update --system and try again.

$ gem update --system
Updating RubyGems…
Attempting remote update of rubygems-update
ERROR: While executing gem … (Errno::EACCES)
Permission denied - /usr/local/lib/ruby/gems/1.8/cache/rubygems-

Not sure how to change permissions on these library files, or if that
is even what I should do! Can anyone give me guidance or assistance?


try “sudo gem update --system”

good luck.

You need to run the process as administrator.

sudo gem update --system

Michael B.
[email protected]


The sudo command worked if anyone encounters the same problem.

Thanks for your help and advice.

Thanks again!

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs