lib/em-synchrony/mongo.rb in em-synchrony-1.0.2 vs lib/em-synchrony/mongo.rb in em-synchrony-1.0.3
- old
+ new
@@ -1,6 +1,6 @@
begin
- require "mongo/connection"
+ require "mongo"
rescue LoadError => error
raise "Missing EM-Synchrony dependency: gem install mongo"
end
# monkey-patch Mongo to use em-synchrony's socket and thread classs