Closed pmontrasio closed 8 years ago
If this is still an active issue can you close this one and re-open it at http://github.com/rails/sprockets. Active development has moved to that repo.
If you've got a bug with sprockets 3 please make sure you've tried the latest 3.3.3. If you can confirm this is still an active issue, the fastest way to get it fixed is to create a small example app that reproduces the failure and open an issue in the new repo http://github.com/rails/sprockets.
I have also encountered this but have tracked it down to the teaspoon-jasmine
gem. Are you also using this @pmontrasio?
@benpickles I checked and I'm not using that gem.
@schneems I'll check with the new version as soon as I resume working on that project. I'll open an issue in its repository if I run again into that problem.
Thanks to both of you.
FYI I've created an issue in the Teaspoon repo for this: https://github.com/modeset/teaspoon/issues/405
Either way, in my case at least, the problem resides in another library and not Sprockets.
This issue was moved to rails/sprockets#183
Clearing the cache fixed it for me. https://github.com/rails/sprockets/issues/183#issuecomment-162203288
I have a Rails project in which I disabled CoffeeScript by commenting it out in the generated Gemfile (I'm not using CS, only plain JS).
I removed Gemfile.lock and run bundle to get new versions of all the gems today. Sprocket has been upgraded to 3.0.3 from 2.12.3. Unfortunately the application doesn't work anymore. This is the error I get when trying to load the home page.
If I add
gem "sprockets", "2.12.3"
to theGemfile
it works again.Does version 3 make some hard assumption on the presence of CoffeeScript?