require false, in gemfile and require it in the app if configured
This commit is contained in:
parent
aaafeb27e4
commit
6fb213a961
2 changed files with 3 additions and 2 deletions
4
Gemfile
4
Gemfile
|
|
@ -77,8 +77,8 @@ gem 'SystemTimer', '1.2.1', :platforms => :ruby_18
|
||||||
|
|
||||||
gem 'hoptoad_notifier'
|
gem 'hoptoad_notifier'
|
||||||
|
|
||||||
gem 'rpm_contrib'
|
gem 'rpm_contrib', :require => false
|
||||||
gem 'newrelic_rpm'#, :require => false
|
gem 'newrelic_rpm', :require => false
|
||||||
|
|
||||||
#mail
|
#mail
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,7 @@ require 'rails/all'
|
||||||
Bundler.require(:default, Rails.env) if defined?(Bundler)
|
Bundler.require(:default, Rails.env) if defined?(Bundler)
|
||||||
|
|
||||||
# use newrelic if configured via config/newrelic.yml
|
# use newrelic if configured via config/newrelic.yml
|
||||||
|
require 'rpm_contrib' if File.exists?(File.expand_path('../newrelic.yml', __FILE__))
|
||||||
require 'newrelic_rpm' if File.exists?(File.expand_path('../newrelic.yml', __FILE__))
|
require 'newrelic_rpm' if File.exists?(File.expand_path('../newrelic.yml', __FILE__))
|
||||||
|
|
||||||
module Diaspora
|
module Diaspora
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue