You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to make a deployment with rvm but it keeps ignoring the version set with invoke :'rvm:use'
this is the config
set :rvm_use_path, '/usr/local/rvm/scripts/rvm'
set :rvm_path, '/usr/local/rvm/scripts/rvm'
task :environment do
invoke :'rvm:use', "ruby-2.3.0@gemset"
command 'rvm list'
command "rvm use \"ruby-2.3.0@gemset\" --create"
command 'rvm list'
end
And this is the output, note that if I don't call rvm use the version is not altered
-----> rvm use "ruby-2.3.0@gemset" --create
$ rvm list
rvm rubies
=* ruby-2.2.1 [ x86_64 ]
ruby-2.3.0 [ x86_64 ]
# => - current
# =* - current && default
# * - default
$ rvm use "ruby-2.3.0@gemset" --create
Using /usr/local/rvm/gems/ruby-2.3.0 with gemset gemset
$ rvm list
rvm rubies
* ruby-2.2.1 [ x86_64 ]
=> ruby-2.3.0 [ x86_64 ]
# => - current
# =* - current && default
# * - default
The text was updated successfully, but these errors were encountered:
I am trying to make a deployment with rvm but it keeps ignoring the version set with
invoke :'rvm:use'
this is the config
And this is the output, note that if I don't call
rvm use
the version is not alteredThe text was updated successfully, but these errors were encountered: