update to capistrano3

This commit is contained in:
r888888888
2015-08-19 14:12:55 -07:00
parent 657846732d
commit e669b66395
12 changed files with 267 additions and 187 deletions

View File

@@ -1,7 +1,7 @@
# Ensure the agent is started using Unicorn.
# This is needed when using Unicorn and preload_app is not set to true.
# See https://newrelic.com/docs/ruby/no-data-with-unicorn
if defined? Unicorn
if defined? ::NewRelic
::NewRelic::Agent.manual_start()
::NewRelic::Agent.after_fork(:force_reconnect => true)
end