All threads / Problem upgrade rails version permission denied rvm folder /bin/rails

Ask A Question

Notifications

You’re not receiving notifications from this thread.

Problem upgrade rails version permission denied rvm folder /bin/rails

AlessioVaralta asked in Rails

Hi, I try to install rails 3.2.20 with ruby2.2.0.

So with rvm I make

rvm install 2.2.0

After I make

gem install rails -v 3.2.20

After rvm use default ruby-2.2.2

But when I try rails -v, I have the error

-bash: /home/xxx/.rvm/gems/ruby-2.2.0/bin/rails: Permission denied

Why? I try also chmod -R 777 on .rvm but nothing change

Join the discussion

Want to stay up-to-date with Ruby on Rails?

Join 33,665+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    logo Created with Sketch.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2020 GoRails, LLC. All rights reserved.