MongoMapper and bson_ext problem

前端 未结 6 1798
夕颜
夕颜 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条回答
  •  悲哀的现实
    2021-02-06 03:00

    Include the following in your environment.rb

    config.gem 'bson_ext', :version => "1.0", :lib => "bson_ext/cbson"
    

提交回复
热议问题