ruby - gem install bson_ext issues -


i running genghisapp - gem mongo management. when run it gives me warning native bson extension not loaded , suggest run gem install bson_ext.

i have installed rbenv , have gems such genghisapp installed in ~/.gem on path , loads fine.

my first attempt run gem install bson_ext after restarting mongo/shell had no effect - message still there.

i suspected not genghisapp message mongo 1 thought might need install sudo. resulted in breaking rbenv install due permissions being set root/whatever because still using local rbenv gem.

what proper way solve this? should find osx gem , call full path install or need specify else?

the issue because a) version of mongo , bson_ext must match , b) there must not other bson_ext version installed.

the comments on issue helped me solved issue.

run: gem list | grep -w 'bson\|bson_ext\|mongo' print out versions. should like:

bson (1.9.2) bson_ext (1.9.2) mongo (1.9.2) 

and not like:

bson (2.3.0, 1.10.2, 1.9.2) bson_ext (1.10.2, 1.9.2) mongo (1.10.2, 1.9.2) 

if so, (de)install versions necessary.


Comments

Popular posts from this blog

python - Healpy: From Data to Healpix map -

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -