Sha256: 5345bdbcb2440dfd718fdf10438d972708cff44c520335d603a24f92608e1d7d

Contents?: true

Size: 488 Bytes

Versions: 1

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

1 entries across 1 versions & 1 rubygems

Version Path
eycap-0.5.20 lib/eycap/recipes/bundler.rb