added new relic resque support
This commit is contained in:
parent
e8c7b570a9
commit
95c8986b8e
3 changed files with 5 additions and 0 deletions
1
Gemfile
1
Gemfile
|
|
@ -76,6 +76,7 @@ gem 'SystemTimer', '1.2.1', :platforms => :ruby_18
|
|||
|
||||
gem 'hoptoad_notifier'
|
||||
gem 'newrelic_rpm', :require => false
|
||||
gem 'rpm_contrib', :require => false
|
||||
|
||||
# tags
|
||||
|
||||
|
|
|
|||
|
|
@ -378,6 +378,8 @@ GEM
|
|||
resque (~> 1.0)
|
||||
rest-client (1.6.1)
|
||||
mime-types (>= 1.16)
|
||||
rpm_contrib (2.1.4)
|
||||
newrelic_rpm (>= 3.1.1)
|
||||
rspec (2.6.0)
|
||||
rspec-core (~> 2.6.0)
|
||||
rspec-expectations (~> 2.6.0)
|
||||
|
|
@ -525,6 +527,7 @@ DEPENDENCIES
|
|||
resque-timeout (= 1.0.0)
|
||||
rest-client (= 1.6.1)
|
||||
roxml!
|
||||
rpm_contrib
|
||||
rspec (>= 2.0.0)
|
||||
rspec-core (= 2.6.0)
|
||||
rspec-instafail (>= 0.1.7)
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ Bundler.require(:default, Rails.env) if defined?(Bundler)
|
|||
|
||||
# use newrelic if configured via config/newrelic.yml
|
||||
require 'newrelic_rpm' if File.exists?(File.expand_path('../newrelic.yml', __FILE__))
|
||||
require 'rpm_contrib' if File.exists?(File.expand_path('../newrelic.yml', __FILE__))
|
||||
|
||||
module Diaspora
|
||||
class Application < Rails::Application
|
||||
|
|
|
|||
Loading…
Reference in a new issue