Gem::FilePermissionError

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?

Try,

sudo gem install -v=2.3.8 rails

or su to root before you run the command.

Luke

nice, now it works…

Thanks,
L. Arivarasan

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.

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