resolve/refinerycms — pull request #1610 by thedarkone (2012-04-22 16:36:10+00:00)
Title: Precompile path fix

Rails' initializers need to have an explicit `:all` group (instead of the default `:default`) or else they are skipped during `rake assets:precompile`.

See [assets.rake#L95](https://github.com/rails/rails/blob/c3d50b35b0e03a68095ebb0d52d371d28c8aa436/actionpack/lib/sprockets/assets.rake#L95), [application.rb#L131](https://github.com/rails/rails/blob/90269802dbf690fbe8be0cd01e3b387a51f02b70/railties/lib/rails/application.rb#L131), [initializable.rb#L55](https://github.com/rails/rails/blob/90269802dbf690fbe8be0cd01e3b387a51f02b70/railties/lib/rails/initializable.rb#L55) and [initializable.rb#L26](https://github.com/rails/rails/blob/90269802dbf690fbe8be0cd01e3b387a51f02b70/railties/lib/rails/initializable.rb#L26).

This fixes asset precompilation on Heroku with `config.assets.initialize_on_precompile = false`.