Если вы обновляете с Rails 2 до Rails 3, убедитесь, что это близко к началу вашего config/application.rb
файла:
# If you have a Gemfile, require the gems listed there, including any gems
# you've limited to :test, :development, or :production.
Bundler.require(:default, Rails.env) if defined?(Bundler)
Это должно быть прямо под
# Put this in config/application.rb
require File.expand_path('../boot', __FILE__)
require 'rails/all'