capistrano / rvm

MIT License
140 stars 47 forks source link

rvm current/ default does not respect .ruby-version #59

Closed gucki closed 9 years ago

gucki commented 9 years ago

The task should first change to the current/ release folder so a possibly existing .ruby-version file gets picked up by RVM. Otherwise current or default report the system default, not the one specified in the .ruby-version file.

gucki commented 9 years ago

Pull request is here now: https://github.com/capistrano/rvm/pull/60

thbar commented 7 years ago

@gucki I think it's worth re-opening this, because the PR has never been merged and your issue still applies. Today I used a quick fix which works nicely:

set :rvm_ruby_version, IO.read('.ruby-version')