Fixed initializer to stop breaking Rails 3 assets precompiler

Rails assets precompiler was broken with the previous initializer. Please push the gem to Rubygem after merging this PR. I don't think a version bump is required but it wouldn't hurt.

Thanks for adding me as a contributor btw. I'm thinking only send you pull requests if the gem has to be released because I cannot do that. What do you think?