capistrano / rvm

MIT License
140 stars 47 forks source link

How to execute rvm trust? #51

Closed Rodrigora closed 9 years ago

Rodrigora commented 10 years ago

I added this question to StackOverflow asking How to run rvmrc trust command using Capistrano 3?

Why this task is not part of this gem?

BillyParadise commented 10 years ago

+1 Would love to know. Battling it now.

cassioscabral commented 10 years ago

Would like to know how to do that also

chrisbloom7 commented 9 years ago

+1

kirs commented 9 years ago

Do you use .rvmrc to set the ruby version?

chrisbloom7 commented 9 years ago

Well, I was...

Switched to using .ruby-version and .ruby-gemset and problem is gone. Hurray for best practices!

kirs commented 9 years ago

Basically, .rvmrc tasks are not part of this gem because ruby version is set with rvm_ruby_version option in deploy.rb:

set :rvm_ruby_version, '2.0.0-p247'
chrisbloom7 commented 9 years ago

@kirs That makes sense since this gem is just a wrapper to execute Capistrano commands in the proper context. Thanks.