Skip to content

Instantly share code, notes, and snippets.

@darkside
Created September 10, 2011 00:07
Show Gist options
  • Save darkside/1207663 to your computer and use it in GitHub Desktop.
Save darkside/1207663 to your computer and use it in GitHub Desktop.
God override sudo with rvmsudo
namespace :god do
namespace :restart do
task :default, :roles => :app, :except => { :no_release => true } do
run "rvmsudo #{bin_god} restart #{application}"
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment