Horror story, part II
Horror story, part II
After my search from earlier this week I encountered another hard-to-debug problem.
After reading an article about using gemsets to isolate a specific environment, I was ready to try the rvm-gemset-thingy in a new project we're working on.
I already had rvm on my MacBook Pro, so this ought to be a breeze. After upgrading rvm to the newest version I installed a .rvmrc file and ran bundler install and I thought I was all set. The result, however, was very much the contrary!
I started to get all kinds of errors like:
**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.
and like:
~/.rvm/gems/ruby-1.8.7-p249@carr/gems/nokogiri-1.4.2/lib/nokogiri/nokogiri.bundle, 9): no suitable image found.
After a lot of searching and blaming mongo (which I'm using for the first time), I found this stackoverflow answer. I remembered I had setup rvm on Leopard and then upgraded to Snow Leopard.
So I did a complete reinstall of rvm and was really pleased to see everything working as expected. I hope I can save someone a bunch of time with this.
blog comments powered by Disqus