Modify Gemfile and mongoid.yml to fix production