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 68,099+ 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.

    Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

    © 2022 GoRails, LLC. All rights reserved.