Add production group to Gemfile. Add rails_12factor gem. Move newrelic_rpm gem to production.