Skip to content

Instantly share code, notes, and snippets.

@mpapis
Forked from anonymous/deploy.rb
Last active December 26, 2015 17:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mpapis/7187844 to your computer and use it in GitHub Desktop.
Save mpapis/7187844 to your computer and use it in GitHub Desktop.
require "rvm1/capistrano3"
after 'deploy:updating', 'deploy:bundle_install'
namespace :deploy do
task :bundle_install do
on roles(:app) do
within release_path do
execute :bundle, "install --quiet --system --without [:test, :development]"
end
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment