fixed ruby version
mongoid configuration added.