for now don't try to install extension
This commit is contained in:
parent
8bc4bb9962
commit
dccc442edb
|
@ -76,6 +76,7 @@ class BSON
|
||||||
@buf = ByteBuffer.new(CBson.serialize(obj))
|
@buf = ByteBuffer.new(CBson.serialize(obj))
|
||||||
end
|
end
|
||||||
rescue LoadError
|
rescue LoadError
|
||||||
|
raise
|
||||||
def serialize(obj)
|
def serialize(obj)
|
||||||
raise "Document is null" unless obj
|
raise "Document is null" unless obj
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@ Gem::Specification.new do |s|
|
||||||
s.has_rdoc = true
|
s.has_rdoc = true
|
||||||
s.rdoc_options = ['--main', 'README.rdoc', '--inline-source']
|
s.rdoc_options = ['--main', 'README.rdoc', '--inline-source']
|
||||||
s.extra_rdoc_files = ['README.rdoc']
|
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.authors = ['Jim Menard', 'Mike Dirolf']
|
||||||
s.email = 'mongodb-dev@googlegroups.com'
|
s.email = 'mongodb-dev@googlegroups.com'
|
||||||
|
|
Loading…
Reference in New Issue