Sha256: e9339465dded87b41f49bcf59ffe94c98800e2b77fe05f01a4de7cb526d296e8

Contents?: true

Size: 488 Bytes

Versions: 2

Compression:

Stored size: 488 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 "mkdir -p #{shared_path}/bundled_gems"
      run "if [ -f #{release_path}/Gemfile ]; then cd #{release_path} && bundle install --without=test,development --binstubs #{release_path}/bin --path #{shared_path}/bundled_gems; fi"
    end
    after "deploy:symlink_configs","bundler:bundle_gems"
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
eycap-0.5.19 lib/eycap/recipes/bundler.rb
eycap-0.5.18 lib/eycap/recipes/bundler.rb