for now don't try to install extension

This commit is contained in:
Mike Dirolf 2009-03-13 17:24:16 -04:00
parent 8bc4bb9962
commit dccc442edb
2 changed files with 2 additions and 1 deletions

View File

@ -76,6 +76,7 @@ class BSON
@buf = ByteBuffer.new(CBson.serialize(obj))
end
rescue LoadError
raise
def serialize(obj)
raise "Document is null" unless obj

View File

@ -20,7 +20,7 @@ Gem::Specification.new do |s|
s.has_rdoc = true
s.rdoc_options = ['--main', 'README.rdoc', '--inline-source']
s.extra_rdoc_files = ['README.rdoc']
s.extensions << 'ext/cbson/extconf.rb'
# s.extensions << 'ext/cbson/extconf.rb'
s.authors = ['Jim Menard', 'Mike Dirolf']
s.email = 'mongodb-dev@googlegroups.com'