Skip to content

Commit

Permalink
Use "Puma" instead of "puma" to reporting to New Relic
Browse files Browse the repository at this point in the history
Current NEWRELIC_DISPACHER default value is not works
in Rails 4.2 with Puma, New Relic on Heroku.

Not works:

    $ heroku config:add NEWRELIC_DISPACHER=puma

Works:

    $ heroku config:add NEWRELIC_DISPACHER=Puma

So I have updated default value.
  • Loading branch information
tomohiro committed Feb 23, 2015
1 parent 3c93cc4 commit 5429197
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/puma/cli.rb
Expand Up @@ -35,7 +35,7 @@ def initialize(argv, events=Events.stdio)

@config = nil

ENV['NEWRELIC_DISPATCHER'] ||= "puma"
ENV['NEWRELIC_DISPATCHER'] ||= "Puma"

setup_options
generate_restart_data
Expand Down

0 comments on commit 5429197

Please sign in to comment.