From 959a4dfcd6ae9824fe28b34f8fa20805614d10dc Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Thu, 13 Mar 2014 11:26:20 +0000 Subject: mkvtoolnix: fix version handling. Fixes #27503.--- Library/Formula/mkvtoolnix.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3