aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAsh Furrow2017-10-17 15:14:39 -0400
committerAsh Furrow2017-10-17 17:24:04 -0400
commit11572c749bae63b3bcc3a990d1f2e6e91c80677e (patch)
tree8818ca588305dc4b95004f05dd402dd44fb11689 /Library
parentb4e1e39d3b38b722fc554a3665d9b6dbf165d99a (diff)
downloadbrew-11572c749bae63b3bcc3a990d1f2e6e91c80677e.tar.bz2
Specifies which errant version of Ruby is used in raise.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/brew.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/brew.rb b/Library/Homebrew/brew.rb
index 86b40a79d..8c5386612 100644
--- a/Library/Homebrew/brew.rb
+++ b/Library/Homebrew/brew.rb
@@ -9,7 +9,7 @@ RUBY_VERSION_SPLIT = RUBY_VERSION.split "."
RUBY_X = RUBY_VERSION_SPLIT[0].to_i
RUBY_Y = RUBY_VERSION_SPLIT[1].to_i
if RUBY_X < 2 || (RUBY_X == 2 && RUBY_Y < 3)
- raise "Homebrew must be run under Ruby 2.3!"
+ raise "Homebrew must be run under Ruby 2.3! You're running #{RUBY_VERSION}."
end
require "pathname"