diff options
| author | Markus Reiter | 2017-10-18 08:15:48 +0200 |
|---|---|---|
| committer | GitHub | 2017-10-18 08:15:48 +0200 |
| commit | c4e8c7906d12399b34188cd3395b8f9d30dc89b3 (patch) | |
| tree | 8a670f35cb4e2ee45c57751bf125b3afdcc24153 /Library | |
| parent | cf349018d5cc508ddd2bd0797df47688b9f7346b (diff) | |
| parent | 11572c749bae63b3bcc3a990d1f2e6e91c80677e (diff) | |
| download | brew-c4e8c7906d12399b34188cd3395b8f9d30dc89b3.tar.bz2 | |
Merge pull request #3329 from ashfurrow/messaging
Specifies which errant version of Ruby is used in raise.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/brew.rb | 2 |
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" |
