Gem::FilePermissionError

780 views
Skip to first unread message

Arivarasan Lingasamy

unread,
Oct 1, 2010, 6:13:46 AM10/1/10
to rubyonra...@googlegroups.com
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/.

Luke Cowell

unread,
Oct 1, 2010, 10:18:39 AM10/1/10
to rubyonra...@googlegroups.com
Try,

sudo gem install -v=2.3.8 rails

or su to root before you run the command.

Luke

> --
> 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 rubyonra...@googlegroups.com.
> To unsubscribe from this group, send email to rubyonrails-ta...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
>

Arivarasan Lingasamy

unread,
Oct 6, 2010, 12:41:59 AM10/6/10
to rubyonra...@googlegroups.com
nice, now it works...

Thanks,
L. Arivarasan

sriram a.

unread,
Sep 14, 2013, 6:24:26 PM9/14/13
to rubyonra...@googlegroups.com
ariv arasan wrote in post #945121:
> 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?

Thanks for your help not it works.
Reply all
Reply to author
Forward
0 new messages