Skip to content
Jeff Su edited this page Jun 23, 2011 · 2 revisions

The Ruby implementation of js2 uses (therubyracer)[https://github.com/cowboyd/therubyracer] to run javascript. The point of the ruby implementation is to

The js2 gem also works in rails as well, but it is recommended to be compiled in development and not used in production. For now, the easiest way to get js2 going is to add a line in the config/application.rb:

TODO

Integration for haml will be done as soon as I figure out how to prevent the v8 engine from crashing.