sstephenson/execjs
View on GitHub ↗ ★ 1,151 Ruby archived
Run JavaScript code from Ruby
6 mentions on Hacker News by 5 people: 1 story, 5 comments · first 2011-04-13 · latest 2014-12-04
20082026
-
It's already done often, especially for frontend gems. See execjs [0]. [0] https://github.com/sstephenson/execjs
comment by byroot · 2014-12-04 · in Duktape: an embeddable JavaScript engine -
Very cool! If you added a Twostroke adapter to ExecJS ( https://github.com/sstephenson/execjs ), the ruby-coffee-script gem would work without modification.
comment by sstephenson · 2012-01-13 · in Show HN: A JavaScript interpreter written in Ruby -
▲ 1
Multi-Runtime JavaScript execution in Rubystory by franze · 2011-09-19 · 0 comments
-
…isn't required. You can use any of the seven javascript runtimes that the ExecJS gem supports. https://github.com/sstephenson/execjs
comment by chanks · 2011-06-14 · in What the hell is happening to rails? -
…gem, which requires some way of running JS. 1: https://github.com/josh/ruby-coffee-script 2: https://github.com/sstephenson/execjs
comment by bonzoesc · 2011-04-13 · in Rails 3.1 shipping with CoffeeScript -
The coffee-script gem ( https://github.com/josh/ruby-coffee-script ) uses ExecJS ( https://github.com/sstephenson/execjs ) to invoke the CS compiler. Rails 3.1's asset pipelining system will use these gems by way of Sprockets 2 (…
comment by sstephenson · 2011-04-13 · in Rails 3.1 shipping with CoffeeScript