jwhitley / requirejs-rails

RequireJS support for your Rails 3 or 4 application
MIT License
592 stars 202 forks source link

Precompile doesn't appear to work on Sprockets 3 (Rails 5) #268

Open thegillis opened 8 years ago

thegillis commented 8 years ago

The mechanism for lookup up precompiled assets and logical names appears to have changed significantly in Sprockets 3. Calls such as each_logical_path do not even exist any more.

I'll attempt to submit a pull request shortly with a potential fix after I verify my change is working on our system.

thegillis commented 8 years ago

In case anyone else is in immediate need for getting this to work, my work in progress is at:

https://github.com/MediaFactual/requirejs-rails/tree/rails5-1-0-0