Sha256: 8af3433309227c5a71e51a365c18805dc491180a8bf36797a9f8ac84aee34e40

Contents?: true

Size: 345 Bytes

Versions: 2

Compression:

Stored size: 345 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} && bundle install; fi"
    end
    after "deploy:symlink_configs","bundler:bundle_gems"
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
gabetax-eycap-0.5.6 lib/eycap/recipes/bundler.rb
eycap-0.5.5 lib/eycap/recipes/bundler.rb