summaryrefslogtreecommitdiff
path: root/devel/rubygem-execjs/files/patch-lib_execjs_runtimes.rb
blob: 718a1c098e82b17944b37778cc40926a5e6acadf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- lib/execjs/runtimes.rb.orig	2021-06-28 15:24:59 UTC
+++ lib/execjs/runtimes.rb
@@ -17,7 +17,7 @@ module ExecJS
 
     Node = ExternalRuntime.new(
       name:        "Node.js (V8)",
-      command:     ["node", "nodejs"],
+      command:     ["%%LOCALBASE%%/bin/node", "node", "nodejs"],
       runner_path: ExecJS.root + "/support/node_runner.js",
       encoding:    'UTF-8'
     )