When creating the Passenger-Monit plugin, I thought it was most advisable to use an initializer, i.e.
module PassengerMonit class Railtie < Rails::Railtie initializer "my_plugin.some_init_task" do
However, for some reason, the code in the block has never been executed. I finally talked to
config.before_initialize {}
but I am curious why the initializer was not executed. What could prevent him from working?
Roman
source share