Skip to content

Instantly share code, notes, and snippets.

@iltempo
Forked from hgmnz/after_restart.rb
Created December 20, 2011 08:17
Show Gist options
  • Save iltempo/1500760 to your computer and use it in GitHub Desktop.
Save iltempo/1500760 to your computer and use it in GitHub Desktop.
notify_deploy_environments = %w(staging production integration)
notify_deploy_roles = %w(solo app_master)
if notify_deploy_environments.include?(environment) && notify_deploy_roles.include?(current_role)
run "cd #{current_path} && bundle exec rake airbrake:deploy TO=#{environment} REVISION=#{revision} USER=`whoami` REPO=#{repo}"
end
@iltempo
Copy link
Author

iltempo commented Dec 20, 2011

Rake task got renamed and accessing configuration on ey is a bit simpler now.

@airbrakeben
Copy link

Thanks. I've updated the docs.

@benarent
Copy link

@shime Can you check to see if this is having issues with a recent gem update?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment