mongodb/mongo-ruby-driver — pull request #119 by koraktor (2012-10-03 08:30:21+00:00)
Title: Require 'jruby' in bson_java.rb

This prevents bson from failing with the following error on JRuby 1.7.0:

NoMethodError: undefined method `runtime' for JRuby:Module
serialize at .../gems/bson-1.7.0-java/lib/bson/bson_java.rb:9