diff options
| author | Mike McQuaid | 2014-03-13 11:26:20 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-03-13 11:26:20 +0000 |
| commit | 959a4dfcd6ae9824fe28b34f8fa20805614d10dc (patch) | |
| tree | e4f4e348c71f1498d0c043fd69a0cf5a71fdd355 /Library | |
| parent | 7cdcd13aa08ed91a73837b73dc185ad9147f7130 (diff) | |
| download | homebrew-959a4dfcd6ae9824fe28b34f8fa20805614d10dc.tar.bz2 | |
mkvtoolnix: fix version handling.
Fixes #27503.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/mkvtoolnix.rb | 2 |
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 |
