Created
October 19, 2009 15:37
-
-
Save akm/213466 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# http://henrik.nyh.se/2008/10/cap-gems-install-and-a-gem-dependency-gotcha | |
namespace :gems do | |
desc "setup gemcutter" | |
task :gemcutter, :roles => :app do | |
run "#{sudo} gem install gemcutter" | |
run "#{sudo} gem tumble" | |
end | |
desc "Install gems" | |
task :install, :roles => :app do | |
run "cd #{current_path} && #{sudo} rake RAILS_ENV=production gems:install" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment