Hello, 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- update-1.0.0.gem 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? Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Michael Breen
2007-Dec-20 18:10 UTC
Re: Rails 2 :: OSX Gem update --system :: Permissions Help
try "sudo gem update --system" good luck. Mike On Dec 20, 2007, at 12:38 PM, Mindtonic wrote:> > Hello, > > 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- > update-1.0.0.gem > > 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? > > Thanks! > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Michael Bleigh
2007-Dec-20 18:46 UTC
Re: Rails 2 :: OSX Gem update --system :: Permissions Help
You need to run the process as administrator. sudo gem update --system Michael Bleigh michael-+08J6pdAJjhWk0Htik3J/w@public.gmane.org On Dec 20, 2007, at 12:38 PM, Mindtonic wrote:> > Hello, > > 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- > update-1.0.0.gem > > 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? > > Thanks! > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Mindtonic
2007-Dec-21 13:36 UTC
Re: Rails 2 :: OSX Gem update --system :: Permissions Help
Hello, The sudo command worked if anyone encounters the same problem. Thanks for your help and advice. Thanks again! On Dec 20, 1:10 pm, Michael Breen <hard...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> try "sudo gem update --system" > > good luck. > Mike > > On Dec 20, 2007, at 12:38 PM, Mindtonic wrote: > > > > > Hello, > > > 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- > > update-1.0.0.gem > > > 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? > > > Thanks!--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---