環境 Rails 4.1.8 NewRelic heroku 目的 herokuNewRelicをインストールする herokuがsleepするのを防ぐ 1. heroku コマンドでnewrelicをインストールする heroku addons:add newrelic:stark 2. Gemfile に以下を追記して、bundle installする gem 'newrelic_rpm', group: :production 3. newrelic.ymlをコピーする curl https://gist.githubusercontent.com/rwdaigle/2253296/raw/newrelic.yml > config/newrelic.yml # git push heroku master でアップするのを忘れないこと 4. heroku コマンドで当該のアプリ名を