aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-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