Skip to content

Instantly share code, notes, and snippets.

@artemk
Created August 22, 2009 19:01
Show Gist options
  • Save artemk/172926 to your computer and use it in GitHub Desktop.
Save artemk/172926 to your computer and use it in GitHub Desktop.
task :create_newrelic_symlink, :roles => [:m3] do
if ENV['PRODUCTION']
run " test -e /etc/rails/#{application}/newrelic.yml && ln -sf /etc/rails/#{application}/newrelic.yml #{current_path}/config/"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment