Eu resolvi isso adicionando:
Mongoid.load!(Rails.root.join("/config/mongoid.yml"))
para
config/intializers/mongoid.rb
, conforme o tutorial. Além disso, você precisará alterar a seguinte linha em seu arquivo config/application.rb de:
require 'rails/all'
para (no Rails 3.x):
require "action_controller/railtie"
require "action_mailer/railtie"
require "active_resource/railtie"
require "rails/test_unit/railtie"
# require "sprockets/railtie" # Uncomment this line for Rails 3.1+
ou (no Rails 4.x):
# Pick the frameworks you want:
# require "active_record/railtie"
require "action_controller/railtie"
require "action_mailer/railtie"
require "sprockets/railtie"
require "rails/test_unit/railtie"