This project is archived and is in readonly mode.

#1613 ✓duplicate
Aaron Quint

Adding #environment to new template_runner

Reported by Aaron Quint | December 22nd, 2008 @ 05:57 AM | in 2.x

Hey All

The attached patch extracts some functionality from the TemplateRunner#gem method to allow arbitrary code/text to be added to the Rails::Initializer block using #environment. This makes it easy to add load_paths, set the load order, etc. using the new bin/rails templates.



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=""></a>

People watching this ticket

Referenced by