Ask A Question


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
Create an account Log in

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

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

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

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

    © 2023 GoRails, LLC. All rights reserved.