diff options
author | Andrew Vit <andrew@avit.ca> | 2009-02-15 19:33:12 -0800 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2009-02-28 17:59:01 +0000 |
commit | 16b3d2b621b1682f249209097c31b0a10f0f87ef (patch) | |
tree | 50dcce6566e3cd30d3a45fd05ad6d2e9951b51b3 /pushgems.rb | |
parent | 8607740a29d0f9ceb2ca21c9ef714f74b64d4a88 (diff) | |
download | rails-16b3d2b621b1682f249209097c31b0a10f0f87ef.tar.gz rails-16b3d2b621b1682f249209097c31b0a10f0f87ef.tar.bz2 rails-16b3d2b621b1682f249209097c31b0a10f0f87ef.zip |
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>
Diffstat (limited to 'pushgems.rb')
0 files changed, 0 insertions, 0 deletions