When deploying with Capistrano, I want to use installed stones instead of installing them in vendor.
Capistrano seems to ignore .gemrcand .bashrc, therefore, I tried this in deploy.rb:
require 'bundler/capistrano'
set :default_environment, {
'GEM_HOME' => '/some_path/.gem',
'GEM_PATH' => '/some_path/.gem',
'BUNDLE_PATH' => '/some_path/.gem'
}
My jewels are /some_path/.gem/gems, bin directory: /some_path/.gem/bin.
source
share