Skip to content
Browse files

Merge pull request #27 from engineyard/bundler

symlink ey_bundler_binstubs to bin
  • Loading branch information...
2 parents 423d59c + 8f529ef commit a2c2d606002ea6eb84b6b6e6ebee0dcaed36d8f6 @shillerey shillerey committed Nov 29, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/eycap/recipes/bundler.rb
View
1 lib/eycap/recipes/bundler.rb
@@ -4,6 +4,7 @@
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"
+ run "ln -nfs #{release_path}/bin #{release_path}/ey_bundler_binstubs"
end
after "deploy:symlink_configs","bundler:bundle_gems"
end

0 comments on commit a2c2d60

Please sign in to comment.
Something went wrong with that request. Please try again.