Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Find jsc when it is in your PATH so it can be used on linux as well a…

…s osx.
  • Loading branch information...
commit 72a5ff9e7aefdcb1bcea3c8cae18570e43ff90f6 1 parent fa431c5
@nwolfwood nwolfwood authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/execjs/runtimes.rb
View
2  lib/execjs/runtimes.rb
@@ -23,7 +23,7 @@ module Runtimes
JavaScriptCore = ExternalRuntime.new(
:name => "JavaScriptCore",
- :command => "/System/Library/Frameworks/JavaScriptCore.framework/Versions/A/Resources/jsc",
+ :command => ["jsc", "/System/Library/Frameworks/JavaScriptCore.framework/Versions/A/Resources/jsc"],
:runner_path => ExecJS.root + "/support/jsc_runner.js"
)
Please sign in to comment.
Something went wrong with that request. Please try again.