Hi there, Brand new to RoR just reading thru agile development with rails. I''m currently on version 2.1.0 and attempting to update to 2.1.2 however when I issue the command ''gem update rails'' I see the following output: Updating installed gems Updating rails ERROR: While executing gem ... (Errno::EACCES) Permission denied - /usr/local/lib/ruby/gems/1.8/cache/ activesupport-2.1.2.gem Has anyone else come across this problem now or in the past? If so please can you help me!! Thanks in advance. Richard Delph --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Richie wrote:> ERROR: While executing gem ... (Errno::EACCES) > Permission denied - /usr/local/lib/ruby/gems/1.8/cache/ > > Has anyone else come across this problem now or in the past? If so > please can you help me!!you don''t have permission to write in that location. Run the update as root. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
With questions like this, it''s extremely helpful to post some details about the used OS. Guess, it''s Linux or OS X, then you should run it as root like: sudo gem update rails goes for most permission errors. If it''s Windows, you must login as Admin I guess --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Hi guys, after posting I suddenly remembered I used the ''sudo'' command when initially installing rails!! Have been a mac user for nearly 10 years and new to unix & the shell in os x but quickly getting the hang of things through practice! Thanks for the swift response anyway, much appreciated. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---