diff --git a/lib/mongo.rb b/lib/mongo.rb index f2a65e0..898696a 100644 --- a/lib/mongo.rb +++ b/lib/mongo.rb @@ -1,4 +1,4 @@ -$LOAD_PATH << File.join(File.dirname(__FILE__), '..', 'lib') +$:.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) require 'mongo/types/binary' require 'mongo/types/code'