jtrim/requirejs_optimizer — pull request #6 by jtrim (2013-09-18 20:01:00+00:00)
Title: Change precompiled asset addition to happen in `before_initialize`

Without digging too deeply to figure out the source of the problem, it appears something may have changed with Rails that causes config.after_initialize not to be called when `config.assets.initialize_on_precompile = false`. This just moves the precompiled asset additions into the `before_initialize` callback, which *is* still being called.