Open fabianfrz opened 8 years ago
@fabianfrz were you able to fix this?
@fredbaa I have not looked at it anymore as the project has ended and I have not needed this feature since.
Readme:
If you want to restrict RVM usage to a subset of roles, you may set :rvm_roles:
set :rvm_roles, [:app, :web]
That being said- I tried that but it didn't work for me.
What I ended up doing was:
For example disable rvm for task: cap production setup:install_nginx
require 'capistrano/rvm' unless ARGV[1] && ARGV[1].include?('nginx')
So the rvm module is only being loaded for certain tasks
I have an issue with capistrano and rvm: it hooks rake when it is using a role which is not set in :rvm_roles the result is that the rake command cannot be executed Error: "bash: /bin/rvm: No such file or directory"