Hello everyone,
I’m upgrading one application from Rails 3.1.3 to 3.2.3 and run into a
nasty problem that 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 anyone has any ideas where could the problem be and how
to solve it?