Re: Gem::FilePermissionError

Luke Cowell
Fri, 01 Oct 2010 14:18:39 -0000

Try,

sudo gem install -v=2.3.8 rails

or su to root before you run the command.

Luke

On 2010-10-01, at 3:13 AM, Arivarasan Lingasamy wrote:

> while i updating my rails version with command,
>
> gem install -v=2.3.8 rails
>
> i got,
>
> ERROR:  While executing gem ... (Gem::FilePermissionError)
>    You don''t have write permissions into the
/usr/lib/ruby/gems/1.8
> directory.
>
> how could i solve the problem?
> --
> Posted via http://www.ruby-forum.com/.
>
> --
> 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
>