aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2014-03-13 11:26:20 +0000
committerMike McQuaid2014-03-13 11:26:20 +0000
commit959a4dfcd6ae9824fe28b34f8fa20805614d10dc (patch)
treee4f4e348c71f1498d0c043fd69a0cf5a71fdd355 /Library
parent7cdcd13aa08ed91a73837b73dc185ad9147f7130 (diff)
downloadhomebrew-959a4dfcd6ae9824fe28b34f8fa20805614d10dc.tar.bz2
mkvtoolnix: fix version handling.
Fixes #27503.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/mkvtoolnix.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/mkvtoolnix.rb b/Library/Formula/mkvtoolnix.rb
index 62ede871f..fde2be776 100644
--- a/Library/Formula/mkvtoolnix.rb
+++ b/Library/Formula/mkvtoolnix.rb
@@ -8,7 +8,7 @@ class Ruby19 < Requirement
next unless which "ruby"
version = /\d\.\d/.match `ruby --version 2>&1`
next unless version
- version >= Version.new("1.9")
+ Version.new(version.to_s) >= Version.new("1.9")
end
def modify_build_environment