Created
January 4, 2010 13:01
-
-
Save uniglam/268497 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
after "deploy:update_code", "bundler:bundle" | |
namespace :bundler do | |
task :bundle do | |
run "mkdir -p #{%w(cache doc gems specifications).map { |x| "#{shared_path}/bundler_gems/#{x}" }.join(' ')} #{release_path}/vendor/bundler_gems; rm -R #{release_path}/vendor/bundler_gems/*; ln -s #{shared_path}/bundler_gems/* #{release_path}/vendor/bundler_gems/; cd #{release_path}; gem bundle" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment