0

Attempting to start the WEBrick server on a Rails 3 / Ruby 1.9.1 with Mongoid errors with:

"MongoDB 1.4.0 not supported, please upgrade to 1.6.0 (Mongoid::Errors::UnsupportedVersion)"

... but mongo --version:

MongoDB shell version: 1.6.1

Anyone else seen this?

Pretty new to Ruby so apologies if I'm asking a stupid question!

1 Answer 1

0

OK, looks like it might have been a bit of a silly question and not one that'll trouble many people - check the mongoid.yml config file to make sure the server you're connecting to for your mongodb is the one you've upgraded. Quick switch to the right server and you're in business.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.