sir-dunxalot / ember-cli-modernizr

Parses your Ember CLI app for Modernizr references and creates the smallest possible Modernizr build
MIT License
11 stars 1 forks source link

Precompilation fails using sprockets on Rails 4.2.8 #6

Closed nachootal closed 7 years ago

nachootal commented 7 years ago

I had been using this gem with rails 4.1.8 and previous versions of sprockets but currently it fails to precompile assets and it seems it's because of a change on how those assets are defined.

I set up a demo project where it can be reproduced here

For what I see, on engine.rb, at line 7, the app doesn't bring the assets ass Sprockets::Environment anymore and thus, the registration of engines fails completely.

I have tried to troubleshoot this a bit but I don't find an elegant solution. If you could give me a hand on this, that would be very nice.

Thanks

nachootal commented 7 years ago

Sorry, wrong post