|
|
@@ -123,7 +123,7 @@ gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw]
|
123
|
123
|
# This hack needs some explanation. When on Heroku, use the pg, unicorn, and rails12factor gems.
|
124
|
124
|
# When not on Heroku, we still want our Gemfile.lock to include these gems, so we scope them to
|
125
|
125
|
# an unsupported platform.
|
126
|
|
-if ENV['ON_HEROKU'] || ENV['HEROKU_POSTGRESQL_ROSE_URL'] || File.read(File.join(File.dirname(__FILE__), 'Procfile')) =~ /intended for Heroku/
|
|
126
|
+if ENV['ON_HEROKU'] || ENV['HEROKU_POSTGRESQL_ROSE_URL'] || ENV['HEROKU_POSTGRESQL_GOLD_URL'] || File.read(File.join(File.dirname(__FILE__), 'Procfile')) =~ /intended for Heroku/
|
127
|
127
|
gem 'pg'
|
128
|
128
|
gem 'unicorn'
|
129
|
129
|
gem 'rails_12factor', group: :production
|