To use bash --login by default with capistrano 3 + sshkit + rvm

☆樱花仙子☆ 提交于 2019-12-06 13:37:15

you can not use rvm use from scripts - unless you source rvm first like you did with the prefix,

but you can use rvm ... do ... in scripts without sourcing:

execute :rvm, "#{ Configs.rvm.ruby }@#{ Configs.rvm.gemset }", "--create", :do, :true
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!