Skip to content

Commit

Permalink
Look for osx jsc path before linux one.
Browse files Browse the repository at this point in the history
  • Loading branch information
nwolfwood committed Sep 2, 2011
1 parent 72a5ff9 commit bb4f201
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/execjs/runtimes.rb
Expand Up @@ -23,7 +23,7 @@ module Runtimes

JavaScriptCore = ExternalRuntime.new(
:name => "JavaScriptCore",
:command => ["jsc", "/System/Library/Frameworks/JavaScriptCore.framework/Versions/A/Resources/jsc"],
:command => ["/System/Library/Frameworks/JavaScriptCore.framework/Versions/A/Resources/jsc", "jsc"],
:runner_path => ExecJS.root + "/support/jsc_runner.js"
)

Expand Down

0 comments on commit bb4f201

Please sign in to comment.