기본 시작 페이지를 볼 수있는 새로운 Ruby on Rails 설치가 있습니다.Ruby on Rails 및 MongoDB
나는 MongoDB to Rails를 설치하기 위해 this guide을 따라 갔다. rake test
을 실행할 때
지금이 오류를 얻을 :
지금 나의 부하 경로 또는 보석 점에서 bson_ext 것을 의미 bson_ext 보석을 설치 한**Notice: C extension not loaded. This is required for optimum MongoDB Ruby driver performance.
You can install the extension as follows:
gem install bson_ext
If you continue to receive this message after installing, make sure that the
bson_ext gem is in your load path and that the bson_ext and mongo gems are of the same version.
동일한 버전이 아니다.
로드 경로는 어디에 있습니까? 어떻게 변경할 수 있습니까? 보석이 동일한 버전인지 어떻게 확인합니까?
아니, 어떻게 추가합니까? 죄송하지만 레일스 입문자입니다. PHP와의 장기적인 관계에서 전환 =) – Dimme
괜찮아요. 이걸 수정했다고 생각합니다.'gem "bson_ext"'. 감사! – Dimme
gemfile에서'gem "bson_ext"'행을 추가 한 다음 명령 행에서'bundle update '를 실행하십시오. – theTRON