I am getting this error with Rails 1.2.3, while I was trying to change session from active_record_store to use memcache-client 1.3. Here is my error, I have checked that actionpack-1.13.3\lib\action_controller\session\mem_cache_store.rb is present. I tried everything and I am completely stuck. Please help! Greatly appreciated. thanks a lot! -Krates ============= error =============================C:\sw\ruby\lib\ruby\gems\1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:477:in `const_missing'': uninitialized constant CGI::Session::MemCacheStore (NameError) from C:\sw\ruby\lib\ruby\gems\1.8/gems/actionpack-1.13.3/lib/action_controller/session_management.rb:22:in `const_get'' from C:\sw\ruby\lib\ruby\gems\1.8/gems/actionpack-1.13.3/lib/action_controller/session_management.rb:22:in `session_store='' from C:\sw\ruby\lib\ruby\gems\1.8/gems/rails-1.2.3/lib/initializer.rb:328:in `send'' from C:\sw\ruby\lib\ruby\gems\1.8/gems/rails-1.2.3/lib/initializer.rb:328:in `initialize_framework_settings'' from C:\sw\ruby\lib\ruby\gems\1.8/gems/rails-1.2.3/lib/initializer.rb:327:in `each'' from C:\sw\ruby\lib\ruby\gems\1.8/gems/rails-1.2.3/lib/initializer.rb:327:in `initialize_framework_settings'' from C:\sw\ruby\lib\ruby\gems\1.8/gems/rails-1.2.3/lib/initializer.rb:324:in `each'' from C:\sw\ruby\lib\ruby\gems\1.8/gems/rails-1.2.3/lib/initializer.rb:324:in `initialize_framework_settings'' ... 20 levels... from C:\sw\ruby\lib\ruby\gems\1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:495:in `require'' from ./script/server:3 from -e:4:in `load'' from -e:4 ======================================================= =========== environment.rb ==============require_gem ''memcache-client'' Rails::Initializer.run do |config| config.action_controller.session_store =:mem_cache_store end memcache_options = { :compression => true, :debug => false, :namespace => "pr-#{RAILS_ENV}", :readonly => false, :urlencode => false } memcache_servers = [ ''127.0.0.1:11211'' ] CACHE = MemCache.new(memcache_options) CACHE.servers = memcache_servers ActionController::Base.session_options[:cache] = CACHE =========================================== -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---