Skip to main content

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

Rails • Asked by AlessioVaralta

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


Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 27,623+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.