diff --git a/lib/bson.rb b/lib/bson.rb index 41409d8..5d93351 100644 --- a/lib/bson.rb +++ b/lib/bson.rb @@ -16,6 +16,8 @@ # limitations under the License. # ++ +$:.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) + MINIMUM_BSON_EXT_VERSION = "1.5.1" module BSON diff --git a/lib/mongo.rb b/lib/mongo.rb index a3191ff..1e386a5 100644 --- a/lib/mongo.rb +++ b/lib/mongo.rb @@ -16,6 +16,8 @@ # limitations under the License. # ++ +$:.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) + require 'mongo/version' module Mongo