Skip to content
Snippets Groups Projects
Unverified Commit e9481095 authored by Mike McQuaid's avatar Mike McQuaid Committed by GitHub
Browse files

Merge pull request #3386 from MikeMcQuaid/config-homebrew-path

system_config: get perl/ruby from HOMEBREW_PATH.
parents 7caca570 3448335a
No related branches found
No related tags found
No related merge requests found
......@@ -73,7 +73,7 @@ class SystemConfig
end
def describe_perl
describe_path(which("perl"))
describe_path(which("perl", ENV["HOMEBREW_PATH"]))
end
def describe_python
......@@ -96,7 +96,7 @@ class SystemConfig
end
def describe_ruby
ruby = which "ruby"
ruby = which "ruby", ENV["HOMEBREW_PATH"]
return "N/A" if ruby.nil?
ruby_binary = Utils.popen_read ruby, "-rrbconfig", "-e", \
'include RbConfig;print"#{CONFIG["bindir"]}/#{CONFIG["ruby_install_name"]}#{CONFIG["EXEEXT"]}"'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment