MongoMapper and bson_ext problem

前端 未结 6 1893
夕颜
夕颜 2021-02-06 02:49

I can\'t get MongoMapper to work with my Rails app. I get this error message:

**Notice: C extension not loaded. This is required for optimum MongoDB Ruby driver performa

6条回答
  •  猫巷女王i
    2021-02-06 03:06

    I followed the instructions above but still the "no such file to load 'bson_ext'. I went to the gem and tried moving the folders in the "ext" folder up one level (to the root of the gem) and lo and behold, it worked. FWIW...

提交回复
热议问题