Skip to main content

Coffeescript 2 Rails Asset Pipeline

Javascript • Asked by Jason Brown

How can we start using Coffeescript 2 in our Rails projects.


According to this (https://github.com/rails/ruby-coffee-script) it looks like the coffee-script-source gem would need to get updated to the latest version to use the standard coffee-rails gem that we're used to.

https://github.com/rails/coffee-rails

Making updates to those gems would probably be the best way to do things since it would work exactly as we've used Coffeescript in the past with Rails.


I took over the integration part for coffeescript 2 in rails and my pull request just got merged :)
https://github.com/rails/ruby-coffee-script/pull/23


Congrats Bijan! Thanks for your work on that! :D


Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 22,346+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.