Is there a specific reason why the rails command is not included in the default rvm_map_bins variable?
With rails 5, calling "execute :rails, ..." in custom tasks does not seem to create the necessary prefix "~/.rvm/bin/rvm default do" for the remote commands which, in my case, leads to errors like this:
00:16 deploy:fill_services_table
01 bundle exec rails bootstrap:populate_services
01 bash: bundle: command not found
(Backtrace restricted to imported tasks)
cap aborted!
SSHKit::Runner::ExecuteError: Exception while executing as USER@HOST: rails exit status: 127
rails stdout: Nothing written
rails stderr: bash: bundle: command not found
If you like, I could create a PR with the (trivial) change so that the 'rails' command is part of the default rvm_map_bins array.
Is there a specific reason why the rails command is not included in the default rvm_map_bins variable?
With rails 5, calling "execute :rails, ..." in custom tasks does not seem to create the necessary prefix "~/.rvm/bin/rvm default do" for the remote commands which, in my case, leads to errors like this:
If you like, I could create a PR with the (trivial) change so that the 'rails' command is part of the default rvm_map_bins array.