Files
bsdports/_unused/rubygem-execjs/files/patch-lib_execjs_runtimes.rb
2019-12-26 07:26:06 +00:00

12 lines
388 B
Ruby

--- lib/execjs/runtimes.rb.orig 2016-04-25 16:51:44 UTC
+++ lib/execjs/runtimes.rb
@@ -17,7 +17,7 @@ module ExecJS
Node = ExternalRuntime.new(
name: "Node.js (V8)",
- command: ["nodejs", "node"],
+ command: ["nodejs", "node", "%%LOCALBASE%%/bin/node"],
runner_path: ExecJS.root + "/support/node_runner.js",
encoding: 'UTF-8'
)