Add a nasty error about ruby 1.8.7 for now

git-svn-id: file:///home/svn/framework3/trunk@5684 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2008-09-25 04:42:08 +00:00
parent a75978a218
commit f4a4b0bfbb
1 changed files with 10 additions and 0 deletions

View File

@ -21,3 +21,13 @@ 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.2+" puts "*** This version of ruby is not supported, please upgrade to 1.8.2+"
exit(0) exit(0)
end end
if(RUBY_VERSION == "1.8.7")
$stderr.puts ""
$stderr.puts "***********************************************************************"
$stderr.puts "*** This version of the Ruby interpreter has significant problems, we *"
$stderr.puts "*** strongly recommend that you switch to version 1.8.6 until these *"
$stderr.puts "*** issues have been corrected. *"
$stderr.puts "***********************************************************************"
$stderr.puts ""
end