From ec97bd0d0011226ce8ce96307adf1e6d2f406957 Mon Sep 17 00:00:00 2001 From: Kyle Banker Date: Mon, 12 Dec 2011 16:58:15 -0500 Subject: [PATCH] Revert "RUBY-388 remove superfluous require" This reverts commit e9da2446e00f3ccc6092613fdb4a0361676c4288. --- lib/bson.rb | 2 ++ lib/mongo.rb | 2 ++ 2 files changed, 4 insertions(+) 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