diff --git a/lib/execjs/runtimes.rb b/lib/execjs/runtimes.rb index ac6cd90..4ca5e1a 100644 --- a/lib/execjs/runtimes.rb +++ b/lib/execjs/runtimes.rb @@ -20,7 +20,7 @@ module ExecJS Node = ExternalRuntime.new( name: "Node.js (V8)", - command: ["nodejs", "node"], + command: ["node", "nodejs"], runner_path: ExecJS.root + "/support/node_runner.js", encoding: 'UTF-8' )