Sha256: f6fed9e65d8a8f4a63b24cce8e9c7b347ea36d1c0e76fb0249afe6dce9f68a71
Contents?: true
Size: 600 Bytes
Versions: 13
Compression:
Stored size: 600 Bytes
Contents
Capistrano::Configuration.instance.load do namespace :bundler do desc "|capistrano-recipes| Installs bundler gem to your server" task :setup, :roles => :app do run "if ! gem list | grep --silent -e 'bundler'; then #{try_sudo} gem uninstall bundler; #{try_sudo} gem install --no-rdoc --no-ri bundler; fi" end desc "|capistrano-recipes| Runs bundle install on the app server (internal task)" task :install, :roles => :app, :except => { :no_release => true } do run "cd #{current_path} && bundle install --deployment --without=development test" end end end
Version data entries
13 entries across 13 versions & 2 rubygems