Sha256: ba05ff520ef3f85348b71cc699e7501dc656d43163c63ed0badbea94cc1d642c

Contents?: true

Size: 351 Bytes

Versions: 3

Compression:

Stored size: 351 Bytes

Contents

Capistrano::Configuration.instance(:must_exist).load do
  namespace :bundler do
    desc "Automatically installed your bundled gems if a Gemfile exists"
    task :bundle_gems do
      run "if [ -f #{release_path}/Gemfile ]; then cd #{release_path} && gem bundle --cached; fi"
    end
    after "deploy:symlink_configs","bundler:bundle_gems"
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
eycap-0.5.3 lib/eycap/recipes/bundler.rb
eycap-0.5.2 lib/eycap/recipes/bundler.rb
eycap-0.5.1 lib/eycap/recipes/bundler.rb