Bundler requires different ruby version on deploying with Capistrano -
i defined ruby version 2.0.0-p645 in .ruby_version
file
cap production deploy
stops bundler error:
info [11dd01a8] running /usr/local/rvm/bin/rvm default bundle install --path /var/www/p4-site/shared/bundle --without development test --deployment --quiet on p4-ocean debug [11dd01a8] command: cd /var/www/p4-site/releases/20160206090913 && /usr/local/rvm/bin/rvm default bundle install --path /var/www/p4-site/shared/bundle --without development test --deployment --quiet debug [11dd01a8] ruby-2.0.0-p481 not installed. debug [11dd01a8] install do: 'rvm install ruby-2.0.0-p481' debug [11dd01a8] /usr/local/rvm/scripts/set: line 19: exec: bundle: not found (backtrace restricted imported tasks)
gemfile doesn't contain ruby
command
.bundle/config
file contains
--- bundle_without: production
where bundler store ruby version 2.0.0-p481 ?
Comments
Post a Comment