This project is archived and is in readonly mode.
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
-
Yehuda Katz (wycats) March 27th, 2010 @ 07:55 AM
- Tag changed from rails 3.0, rails3 server startup to rails3 server startup, rails3
- Milestone cleared.
-
Repository March 29th, 2010 @ 03:08 AM
- State changed from new to resolved
(from [bd69589143371254b6d71aa74b1230144eb30a9c]) preinitializer.rb is no longer needed, so remove it from the guide and replace with better suggestion. [#4279 state:resolved] http://github.com/rails/rails/commit/bd69589143371254b6d71aa74b1230...
-
Jeremy Kemper October 15th, 2010 @ 11:01 PM
- Milestone set to 3.0.2
- Importance changed from to Low
-
csnk May 18th, 2011 @ 08:27 AM
We are the professional underwear manufacturer, underwear supplier, underwear factory, custom underwear.
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
Referenced by
- 4279 Preinitializer doesn't preinitialize. (from [bd69589143371254b6d71aa74b1230144eb30a9c]) preinit...