0

Since now I would like to add something new to the rails app, so I have to re-modify the code and test locally on my computer. Do I need to modify the gemfile back?

The current gemfile is:

source 'https://rubygems.org'

gem 'rails', '3.2.12'

# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'

group :development do
  gem 'sqlite3'
end
group :production do
  gem 'pg'
  gem 'rails_12factor'
end
...
user2049259
  • 533
  • 2
  • 6
  • 13
  • If you mean by "modify the gemfile back" to remove the section in "group :production" then no, you do not have to. The whole point of putting those in the production group mean they only apply to production so it does not effect your local devleopment and test environments. – Alex Peachey Apr 27 '14 at 00:50

1 Answers1

0

No, you dont have so.

I assume you have added gem rails_12factor in production group

Paritosh Piplewar
  • 7,982
  • 5
  • 26
  • 41