Engine Yard’s Cloud platform uses the chef-deploy gem instead of the more commonly used Capistrano to deploy your Rails app. Both New Relic and Hoptoad have a built in Capistrano task to notify the services on deploy. Using a deploy hook we can achieve the same result with EY-Cloud.
Create the following file in “RAILS_ROOT/deploy/after_restart.rb”
The above deploy hook will only fire off when you’re deploying to a production environment. If you’re using bundler08 instead of Engine Yard’s gem manager, then replace the “newrelic_cmd” with “bin/newrelic_cmd”.