JRuby 1.7.4 in 1.9 mode is falsely reporting defined?(::BasicObject) => nil see jruby/jruby#814
Merge pull request #319 from rspec/fix_for_jruby_builds

Fix for JRuby 1.7.4 in 1.9 mode