From fd07b403166177ea022d73384247ff6964a9b99d Mon Sep 17 00:00:00 2001 From: Kyle Banker Date: Wed, 4 Aug 2010 15:13:34 -0400 Subject: [PATCH] absolute paths for gemspecs for 1.9.2 compatibility --- bson.gemspec | 2 +- bson_ext.gemspec | 2 +- mongo.gemspec | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bson.gemspec b/bson.gemspec index 1a0894c..b6a5832 100644 --- a/bson.gemspec +++ b/bson.gemspec @@ -1,4 +1,4 @@ -require "lib/bson" +require "./lib/bson" Gem::Specification.new do |s| s.name = 'bson' diff --git a/bson_ext.gemspec b/bson_ext.gemspec index eb5787c..86e7907 100644 --- a/bson_ext.gemspec +++ b/bson_ext.gemspec @@ -1,4 +1,4 @@ -require 'lib/bson' +require './lib/bson' VERSION_HEADER = File.open(File.join(File.dirname(__FILE__), 'ext', 'cbson', 'version.h'), "r") VERSION = VERSION_HEADER.read.scan(/VERSION\s+"(\d+\.\d+(\.\d+\w*)?)\"/)[0][0] Gem::Specification.new do |s| diff --git a/mongo.gemspec b/mongo.gemspec index 2e19f97..1a832dc 100644 --- a/mongo.gemspec +++ b/mongo.gemspec @@ -1,4 +1,4 @@ -require "lib/mongo" +require "./lib/mongo" Gem::Specification.new do |s| s.name = 'mongo'