Skip to content

Instantly share code, notes, and snippets.

@jschilli
Created September 9, 2011 18:31
Show Gist options
  • Save jschilli/1206963 to your computer and use it in GitHub Desktop.
Save jschilli/1206963 to your computer and use it in GitHub Desktop.
C:\temp>irb
irb(main):001:0> require 'ExecJS'
=> true
irb(main):002:0> ExecJS.Runtime
NoMethodError: undefined method `Runtime' for ExecJS:Module
from (irb):2
from C:/Ruby192/bin/irb:12:in `<main>'
irb(main):003:0> ExecJS.runtime
=> #<ExecJS::ExternalRuntime:0x249d998 @name="JScript", @command="cscript //E:jscript //Nologo", @runner_path="C:/Ruby192/li
b/ruby/gems/1.9.1/gems/execjs-1.2.4/lib/execjs/support/jscript_runner.js", @test_args=nil, @test_match=nil, @binary="C:\\Win
dows\\System32\\cscript.exe //E:jscript //Nologo">
irb(main):004:0> ^C
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment