The Bundler documentation says that to install all the necessary packages when deploying through Capistrano you only need to insert
require 'bundler/capistrano'
in your deploy.rb. Then, after deployment, Capistrano calls
* executing "bundle install --gemfile .../releases/20110403085518/Gemfile \ --path .../shared/bundle --deployment --quiet --without development test"
This works great.
However, we have an intermediate installation on our production server, isolated from a real live site, where we are testing a new version of the application with (cloned and firewalls) in real time. There we need test and development that need to be installed.
How to specify capistrano command line here? Are there any options that I can use, or do I need to configure my own capistrano task to overwrite the Bundler?
Thanks!
ruby-on-rails production staging bundler capistrano
Jens
source share