Getting Error with a plugin in Production

Hi Alpha Blue

I can't tell you if it's going to solve your problem, but your environment.rb seems pretty outdated. You don't need to tell Rails to load all plugins; it'll do that automatically. Just a side note, Rails has got built-in gem dependency management since 2.2 (I think), using it will allow you to run rake gems:install on your server so you don't have to install the gems manually.

RAILS_GEM_VERSION = '2.3.3' unless defined? RAILS_GEM_VERSION

require File.join(File.dirname(__FILE__), 'boot')

Rails::Initializer.run do |config|   config.gem 'mislav-will_paginate', :lib => 'will_paginate'

  %w(observers sweepers mailers).each do |dir|     config.load_paths << "#{RAILS_ROOT}/app/#{dir}"   end

  config.action_controller.page_cache_directory = RAILS_ROOT + "/public/cache/"

  config.active_record.observers = :user_observer

end