Sha256: d7a42cce1508abad4152733ba4cd6bf057b0f69aba6fda3297863269e38e5826

Contents?: true

Size: 402 Bytes

Versions: 9

Compression:

Stored size: 402 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 --without=test development --path /var/cache/engineyard/; fi"
    end
    after "deploy:symlink_configs","bundler:bundle_gems"
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
eycap-0.5.17 lib/eycap/recipes/bundler.rb
eycap-0.5.16 lib/eycap/recipes/bundler.rb
eycap-0.5.15 lib/eycap/recipes/bundler.rb
eycap-0.5.14 lib/eycap/recipes/bundler.rb
eycap-0.5.13 lib/eycap/recipes/bundler.rb
eycap-0.5.12 lib/eycap/recipes/bundler.rb
eycap-0.5.11 lib/eycap/recipes/bundler.rb
eycap-0.5.10 lib/eycap/recipes/bundler.rb
eycap-0.5.9 lib/eycap/recipes/bundler.rb