Closed RKushnir closed 9 years ago
Just add set :rvm_map_bins, %w{gem rake ruby bundle rvmsudo}
to your deploy.rb
file and it should work.
@jlhervo Thanks, that's what I did until the issue is resolved.
Better, add it to existing list of bins in deploy.rb
set :rvm_map_bins, fetch(:rvm_map_bins, []).push('rvmsudo')
I discovered, if foreman is installed in the system ruby, there's no need to use rvmsudo
, as the regular sudo
works.
Please, consider adding
rvmsudo
to the list of binaries that get an/usr/local/rvm ... do
prefix(rvm_map_bins
). My specific use case is with foreman:Without the prefix it just says
/usr/bin/env: rvmsudo: No such file or directory
.