mirror of
https://git.freebsd.org/ports.git
synced 2025-06-17 02:30:44 -04:00
This fixes running ruby on rails under nginx and passenger. Approved by: swills (mentor, ruby)
11 lines
388 B
Ruby
11 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'
|
|
)
|