I get this error when my capistrano (capistrano-rvm (0.1.1)) script runs rvm commands:
Warning! PATH is not properly set up, '/usr/local/rvm/gems/ruby-2.1.0/bin' is not at first place,
usually this is caused by shell initialization files - check them for 'PATH=...' entries,
it might also help to re-add RVM to your dotfiles: 'rvm get stable --auto-dotfiles',
to fix temporarily in this shell session run: 'rvm use ruby-2.1.0'.
At the same time, I have set :rvm_ruby_version, '2.1.0' in my deploy.rb.
It appears that capistrano-rvm does not choose ruby properly. If I execute rvm commands manually, I get this warning too. However, it goes away if I execute rvm use 2.1.0 first.
I get this error when my capistrano (
capistrano-rvm (0.1.1)
) script runs rvm commands:At the same time, I have
set :rvm_ruby_version, '2.1.0'
in mydeploy.rb
.It appears that
capistrano-rvm
does not choose ruby properly. If I execute rvm commands manually, I get this warning too. However, it goes away if I executervm use 2.1.0
first.