This gem allows you to automatically pack all of gems of your project, pack them and transfer directly to the target server. Useful when the target server has no connection to the Internet.
Works with capistrano 3.x. For capistrano 2.x see https://github.com/rudionrails/capistrano-strategy-copy-bundled
You may also like: https://github.com/xuwupeng2000/capistrano-scm-gitcopy
How to use
Gemfile:
group :development do
gem 'capistrano-bundler'
gem 'capistrano-copy-bundle'
end
Capfile:
require 'capistrano/bundler'
require 'capistrano3/copybundle'
config/deploy.rb:
append :linked_dirs, 'vendor/cache'
before "bundler:install", "deploy:copy_bundle"
Special thanks
To VimpelCom Ltd. Your fucked up intranet inspired me to make this gem.