run javascript in Ruby on Windows

354 Views Asked by At

Does someone know how to run javascript (jscript would be fine also) in Ruby on a windows machine ? execjs, V8 and therubyracer don't seem to be available for windows.. I know how to run javascript outside Ruby.

1

There are 1 best solutions below

2
On BEST ANSWER

According to their Github, ExecJS is in fact available for Microsoft Windows. It uses Microsoft Windows Script Host (JScript).