Skip to content

Commit 1dce3d0

Browse files
committed
Update JavaScriptCore path
1 parent 8eadf60 commit 1dce3d0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/execjs/runtimes.rb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@ module Runtimes
2424

2525
JavaScriptCore = ExternalRuntime.new(
2626
name: "JavaScriptCore",
27-
command: "/System/Library/Frameworks/JavaScriptCore.framework/Versions/A/Resources/jsc",
27+
command: [
28+
"/System/Library/Frameworks/JavaScriptCore.framework/Versions/Current/Helpers/jsc",
29+
"/System/Library/Frameworks/JavaScriptCore.framework/Versions/A/Resources/jsc",
30+
],
2831
runner_path: ExecJS.root + "/support/jsc_runner.js"
2932
)
3033

0 commit comments

Comments
 (0)