This project is archived and is in readonly mode.

#1983 ✓resolved
Andrew Vit

Added: TemplateRunner gem :env option

Reported by Andrew Vit | February 16th, 2009 @ 04:20 AM | in 2.x

Some gems are only needed in development/test. This patch adds the following syntax to TemplateRunner:


gem 'rspec', :env => 'test'

The gem dependency is appended to config/environments/test.rb instead of the Rails::Initializer block in config/environment.rb

(This also adds a new method #append_file to TemplateRunner)

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Attachments

Referenced by

Pages