aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorCarlo Rosati2017-03-27 16:43:02 -0400
committerCarlo Rosati2017-03-27 16:44:42 -0400
commit1f89a332132d8c33e6c9d86d90dbc79005256fce (patch)
treeb465a5e35cd1f8eba242fa299d45526a093d8dcd /Library/Homebrew
parent09231dd52be5858f707fa30728d9cd47027f6976 (diff)
downloadbrew-1f89a332132d8c33e6c9d86d90dbc79005256fce.tar.bz2
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