Closed gobijan closed 7 years ago
Thanks for the pull request, and welcome! The Rails team is excited to review your changes, and you should hear from @schneems (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see the contribution instructions for more information.
@gobijan can you explain how to use it and specify V2 in rails app ? (who using "gem 'coffee-rails'" only, by default when create new rails app and not "ruby-coffee-script"). What we have to added to gem file?
@Argorate After investigation, I made coffeescript2 worked with sprockets together, hope this answer helps .
Everything done, enjoy!
FYI https://github.com/rails/ruby-coffee-script#installation
As far as I understood the coffee-script integration for rails depends on coffee-script-source gem which is built via this script. I modified the script to use version 2 of the CoffeeScript compiler instead of version 1. Also I make sure that if no version is set I get the latest tag for the build.