Sha256: 602c91b2f684f80fead6483fb6651a84afc2ac83f2f55a7192c08ebb1647185f
Contents?: true
Size: 561 Bytes
Versions: 3
Compression:
Stored size: 561 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 %w(vendor bin).each do |dirname| run "if [ -f #{release_path}/Gemfile ]; then mkdir -p #{shared_path}/bundling/#{dirname} && cd #{release_path} && ln -s #{shared_path}/bundling/#{dirname} .; fi" end run "if [ -f #{release_path}/Gemfile ]; then cd #{release_path} && gem bundle; fi" end after "deploy:symlink_configs","bundler:bundle_gems" end end
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
engineyard-eycap-0.4.15 | lib/eycap/recipes/bundler.rb |
eycap-0.5.0 | lib/eycap/recipes/bundler.rb |
eycap-0.4.16 | lib/eycap/recipes/bundler.rb |