Bundler for support for Capistrano 3.x
Add this line to your application's Gemfile:
gem 'capistrano', '~> 3.0.0'
gem 'capistrano-bundler'
And then execute:
$ bundle
Or install it yourself as:
$ gem install capistrano-bundler
Require in Capfile
to use the default task:
require 'capistrano/bundler'
The task will run before deploy:updated
as part of Capistrano's default deploy,
or can be run in isolation with cap production bundler:install
Configurable options, shown here with defaults:
set :bundle_gemfile, -> { release_path.join('Gemfile') }
set :bundle_dir, -> { shared_path.join('bundle') }
set :bundle_flags, '--deployment --quiet'
set :bundle_without, %w{development test}.join(' ')
set :bundle_binstubs, -> { shared_path.join('bin') }
set :bundle_roles, :all
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request