diff --git a/Library/Homebrew/os/mac.rb b/Library/Homebrew/os/mac.rb index 0a95677a3b..d6253593bc 100644 --- a/Library/Homebrew/os/mac.rb +++ b/Library/Homebrew/os/mac.rb @@ -25,7 +25,7 @@ module OS # This can be compared to numerics, strings, or symbols # using the standard Ruby Comparable methods. def version - @version ||= Version.from_symbol(full_version.to_sym) + @version ||= full_version.strip_patch end # This can be compared to numerics, strings, or symbols