Updated to allow 1.8.2 on OS X, since technically it works fine
git-svn-id: file:///home/svn/framework3/trunk@4568 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
46c9c510dd
commit
c01d7d6cab
|
@ -16,8 +16,8 @@ if ([1].pack('n') == "\x01\x00")
|
||||||
exit(0)
|
exit(0)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Check for ruby 1.8.3 as the minimal supported version
|
# Check for ruby 1.8.2 as the minimal supported version
|
||||||
if (RUBY_VERSION =~ /^1\.[0-7]\./ or RUBY_VERSION =~ /^1\.8\.[0-2]$/)
|
if (RUBY_VERSION =~ /^1\.[0-7]\./ or RUBY_VERSION =~ /^1\.8\.[0-1]$/)
|
||||||
puts "*** This version of ruby is not supported, please upgrade to 1.8.3+"
|
puts "*** This version of ruby is not supported, please upgrade to 1.8.2+"
|
||||||
exit(0)
|
exit(0)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue