diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb
index ba4e162ea6353b0365c13f45dfe953459c9f00ce..26d6cb9adf48e5f47eb40399879d3df15c5fe99f 100644
--- a/Library/Homebrew/cmd/doctor.rb
+++ b/Library/Homebrew/cmd/doctor.rb
@@ -363,12 +363,11 @@ def check_access_logs
   end
 end
 
-def check_usr_bin_ruby
-  if /^1\.9/.match RUBY_VERSION
-    <<-EOS.undent
-      Ruby version #{RUBY_VERSION} is unsupported.
-      Homebrew is developed and tested on Ruby 1.8.x, and may not work correctly
-      on other Rubies. Patches are accepted as long as they don't break on 1.8.x.
+def check_ruby_version
+  if RUBY_VERSION.to_f > 1.8 then <<-EOS.undent
+    Ruby version #{RUBY_VERSION} is unsupported.
+    Homebrew is developed and tested on Ruby 1.8.x, and may not work correctly
+    on other Rubies. Patches are accepted as long as they don't break on 1.8.x.
     EOS
   end
 end