lib/em-mongo.rb in em-mongo-0.3.2 vs lib/em-mongo.rb in em-mongo-0.3.3
- old
+ new
@@ -1,16 +1,8 @@
begin
- require "rubygems"
- require "bundler"
- Bundler.setup(:default)
+ require "bson_ext"
rescue LoadError
-ensure
- require "eventmachine"
- begin
- require "bson_ext"
- rescue LoadError
- require "bson"
- end
+ require "bson"
end
module EM::Mongo
module Version