Questions tagged [bson-ext]

C extensions to accelerate the Ruby BSON serialization.

For more information about BSON, see http://bsonspec.org. For information about MongoDB, see https://www.mongodb.com/.

8 questions
13
votes
5 answers

bson_ext gem install fails on macOS

I'm stuck with install bson_ext gem with 1.5.1 version. I've tried almost everything what I found on web but nothing helps. I tried to reinstall ruby, rvm and so on. I am using: RVM MacOs Catalina 10.15.6 ruby 2.6.5 and after bundle install I got…
Lukasz
  • 207
  • 2
  • 10
6
votes
2 answers

Unable to install bson_ext 1.8.2 gem

I am unable to install the bson_ext 1.8.2 gem in my mongo project directory. In specific I tried running bundle install and gem install bson_ext -v '1.8.2' I tried other solutions present on the forum but in vain. Installing bson_ext (1.8.2)…
jayanth pk
  • 61
  • 1
  • 3
2
votes
2 answers

failed to install bson_ext

hs-mac-air:~ zuohaisu$ sudo gem install bson_ext -v '1.9.2' Building native extensions. This could take a while... ERROR: Error installing bson_ext: ERROR: Failed to build gem native extension. …
Miner
  • 21
  • 1
  • 3
2
votes
0 answers

Why did gem install bson_ext fail on Windows?

I got this error when I install bson_ext on Windows. The error message is: Temporarily enhancing PATH to include DevKit... Building native extensions. This could take a while... ERROR: Error installing bson_ext: ERROR: Failed to build gem…
Kevin
  • 31
  • 4
1
vote
1 answer

Mongodb bson_ext InvalidDocument error

I want to use bson_ext with mongodb but I get a strange error. I tried to run this ruby test code : require 'mongo' include Mongo mongoClient = MongoClient.new("localhost", 27017) and the error was…
user1277186
  • 105
  • 5
1
vote
1 answer

bson_ext 1.7.0 fails to build on Linux when using bundle:install Capistrano task

Here is the error message: Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. /usr/local/bin/ruby extconf.rb Gem files will remain installed in /var/www/app_dir/shared/bundle/ruby/1.8/gems/bson_ext-1.7.0 for…
jkndrkn
  • 4,012
  • 4
  • 36
  • 41
0
votes
0 answers

Error installing gem bson_ext version 1.5.1

I am trying to set up a ruby 2.3.0 project in my system . Upon running bundle install , I am getting the following error :- Fetching bson_ext 1.5.1 Installing bson_ext 1.5.1 with native extensions Gem::Ext::BuildError: ERROR: Failed to build gem…
0
votes
1 answer

gem install bson_ext issues

I am running genghisapp - the gem for Mongo management. When I run it it gives me a warning that the native BSON extension was not loaded and suggest I run gem install bson_ext. I have recently installed rbenv and have my gems such as genghisapp…
cyberwombat
  • 38,105
  • 35
  • 175
  • 251