title: How do I configure a capfile to use curl to communicate to New Relic?
body: <p>I'm playing around with New Relic and want to alert New Relic to deploys. I can do this on the command line using:</p>
  
  <pre><code>curl -H "x-api-key:MY_API_KEY" -d "deployment[application_id]=MY_APP_ID "https://api.newrelic.com/deployments.xml
  </code></pre>
  
  <p>What should should I add to the capfile so capistrano runs the curl above upon deploy?</p>
  
  <p>I know I can install the new relic gem and require it in the Capfile, but wanted to avoid the dependency. </p>