Create the environment instance after require dependencies #365

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants

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.

josh closed this Feb 7, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment