Skip to content

Commit

Permalink
Under config is a more normal location railsware#30
Browse files Browse the repository at this point in the history
  • Loading branch information
ciberch committed Dec 30, 2013
1 parent acfea45 commit 8c9dde2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion newrelic_resque_agent/bin/newrelic_resque_agent
Expand Up @@ -5,7 +5,7 @@ $LOAD_PATH.unshift File.expand_path "../../lib", __FILE__
require "newrelic_resque_agent"
require 'optparse'

CONFIG_PATH = ENV['NEWRELIC_RESQUE_AGENT_FILE'] || "config/newrelic_resque_agent.yml"
CONFIG_PATH = ENV['NEWRELIC_RESQUE_AGENT_FILE'].presence || "config/newrelic_resque_agent.yml"

NewRelic::Plugin::Config.config_file = CONFIG_PATH

Expand Down

0 comments on commit 8c9dde2

Please sign in to comment.