Skip to content
Snippets Groups Projects
Commit dd280cc0 authored by Jack Nagel's avatar Jack Nagel
Browse files

MacOS.version in case statement doesn't work with ranges

parent 3755b33a
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,7 @@ module MacOS::Xcode extend self
case MacOS.version
when 10.5 then "3.1.4"
when 10.6 then "3.2.6"
when 10.7..10.8 then "4.6.2"
when 10.7, 10.8 then "4.6.2"
else
raise "Mac OS X '#{MacOS.version}' is invalid"
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment