This project is archived and is in readonly mode.
Changeset [16b3d2b621b1682f249209097c31b0a10f0f87ef] by Andrew Vit
Revision 16b3d2b621b1682f249209097c31b0a10f0f87ef,
committed by Andrew Vit
· February 28th, 2009 @ 05:59 PM
Added :env option for gem in template runner [#1983 state:resolved]
For installing gems that are only needed in the test environment, specify the :env option so the dependency is written to config/environments/test.rb:
gem 'rspec', :env => 'test'
gem 'quietbacktrace', :env => %w[development test]
Signed-off-by: Pratik Naik pratiknaik@gmail.com http://github.com/rails/rails/co...
2 changed files
-
M
railties/lib/rails_generator/generators/applications/app/template_runner.rb -
M
railties/test/generators/rails_template_runner_test.rb