Skip to content

Instantly share code, notes, and snippets.

@justinvt
Created June 12, 2009 15:56
Show Gist options
  • Save justinvt/128720 to your computer and use it in GitHub Desktop.
Save justinvt/128720 to your computer and use it in GitHub Desktop.
task :repair_image_magick, :roles=>[:app] do
sudo "aptitude update "
sudo "aptitude install imagemagick"
sudo "apt-get install librmagick-ruby --yes"
sudo "apt-get install libmagick9-dev --yes"
sudo "gem install rmagick"
end
task :bundle, :roles=>[:app, :web] do
sudo "rake ec2:locate_sendmail RAILS_ENV=#{rails_env}"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment