aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorMike McQuaid2017-03-31 10:19:02 +0100
committerGitHub2017-03-31 10:19:02 +0100
commitc08250b932fccecca52e2902add953c6fc4c6c38 (patch)
treec1167d072289d0a9c16dd857e5a0dcb061c61ee8 /Library/Homebrew
parent80b39bb23917d9b80bb80eb15a890607d69e65b6 (diff)
parent1f89a332132d8c33e6c9d86d90dbc79005256fce (diff)
downloadbrew-c08250b932fccecca52e2902add953c6fc4c6c38.tar.bz2
Merge pull request #2403 from carlorosati/rubyreq.hb
ruby_requirement: fix path prepend
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/requirements/ruby_requirement.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/requirements/ruby_requirement.rb b/Library/Homebrew/requirements/ruby_requirement.rb
index 327c13170..acc655924 100644
--- a/Library/Homebrew/requirements/ruby_requirement.rb
+++ b/Library/Homebrew/requirements/ruby_requirement.rb
@@ -11,7 +11,7 @@ class RubyRequirement < Requirement
satisfy(build_env: false) { new_enough_ruby }
env do
- ENV.prepend_path "PATH", new_enough_ruby
+ ENV.prepend_path "PATH", new_enough_ruby.dirname
end
def message