From b966b8827e3da7517a721fdc821bbcf6936b0fb1 Mon Sep 17 00:00:00 2001 From: Jarin Udom Date: Tue, 2 Dec 2014 08:50:36 -0800 Subject: [PATCH] Add rails_12factor gem to prevent Heroku plugin injection --- Gemfile | 3 +++ Gemfile.lock | 6 ++++++ 2 files changed, 9 insertions(+), 0 deletions(-) diff --git a/Gemfile b/Gemfile index f40fa95..e9c6d3f 100644 --- a/Gemfile +++ b/Gemfile @@ -101,6 +101,9 @@ group :heroku, :production do gem 'unicorn', :require => false end +group :heroku do + gem 'rails_12factor' +end # Gems used only for assets and not required # in production environments by default. diff --git a/Gemfile.lock b/Gemfile.lock index ec535b7..24fcbb8 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -291,9 +291,14 @@ GEM activeresource (= 3.2.21) activesupport (= 3.2.21) bundler (~> 1.0) + rails_12factor (0.0.3) + rails_serve_static_assets + rails_stdout_logging rails_autolink (1.1.4) rails (> 3.1) railties (= 3.2.21) + rails_serve_static_assets (0.0.2) + rails_stdout_logging (0.0.3) railties (3.2.21) actionpack (= 3.2.21) activesupport (= 3.2.21) @@ -442,6 +447,7 @@ DEPENDENCIES quiet_assets rack-ssl rack-ssl-enforcer + rails_12factor rails_autolink railties (~> 3.2.21) ri_cal -- libgit2 0.21.2