sstephenson/sprockets — pull request #365 by supherman (2012-09-24 19:04:49+00:00)
Title: Create the environment instance after require dependencies

I'm using the hamljs template engine with this gem https://github.com/dharanasoft/haml-sprockets, when I tried to compile my assets, the templates were not being interpreted with the hamljs engine, I realized it happens because the environment instance was being created before require the dependencies, so I moved the environment instance just after the options parsing.