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.