This project is archived and is in readonly mode.

#4279 ✓resolved
y_feldblum (at yahoo)

Preinitializer doesn't preinitialize.

Reported by y_feldblum (at yahoo) | March 27th, 2010 @ 02:03 AM | in 3.0.2

The guides (http://guides.rails.info/configuring.html#using-a-preinitializer) describe how to use a pre-initializer, but pre-initializers seem not to be executed in rails3. For example, I can start an app with a pre-initializer at ./config/preinitializer.rb with contents raise Exception. The expected behavior is that app startup will fail immediately; the actual behavior is the same as if the file were not there.

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>

Referenced by

Pages