search for: finisher_hook

Displaying 1 result from an estimated 1 matches for "finisher_hook".

2012 Apr 30
0
Rails 3.1.3 -> 3.2.3 upgrade, assets can't be found
...at none of the assets are found (everything worked great before upgrade). I''ve investigated for several hours and it seems that the root of the problem is that the order of initializers becomes wrong after initializers.tsort (in railties-3.2.3/lib/rails/ initializable.rb:54). It seems that finisher_hook initializer (which runs after_initialize, which then bootstraps sprockets by copying paths from config.assets.paths to Rails.application.assets.paths) is run before append_assets_path (which loads asset paths from all engines) and so Sprockets is bootstrapped with empty list of asset paths. Maybe a...