The Bundler documentation says, that in order to install all necessary bundles when deploying via Capistrano, one need only insert
require 'bundler/capistrano' # siehe http://gembundler.com/deploying.html
in his deploy.rb. Then, upon deployment, Capistrano calls
* executing "bundle install --gemfile .../releases/20110403085518/Gemfile \
--path .../shared/bundle --deployment --quiet --without development test"
This works fine.
However, we have a staging setup on our production server, isolated from the real live site, where we test a new app release with (cloned and firewalled) live production data. There, we need test and development gems to be installed.
How do I specify the capistrano command line here? Are there parameters I can use, or do I need to set up my own capistrano task to overwrite Bundler's?
Thank you!