Skip to content

Instantly share code, notes, and snippets.

@artemk
Created August 22, 2009 19:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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