spohlenz/tinymce-rails — pull request #23 by pivotalhalogen (2011-10-28 00:10:09+00:00)
Title: Under Rails 3.1.1 and config.assets.initialize_on_precompile = false, tinymce assets are not precompile during rake assets:precompile

I believe this is because of this change in 3.1.1:

"rake assets:precompile loads the application but does not initialize it.

To the app developer, this means configuration add in config/initializers/* will not be executed.

Plugins developers need to special case their initializers that are meant to be run in the assets group by adding :group => :assets. [José Valim]"

I attached a simple fix to force the initializer to run in all groups.