Forum: Rails deployment uninitialized constant Rails::Initializer::MemCache

Posted by Ted O'meara (tedomeara)
on 2010-05-05 16:26
I've installed just about every library/gem that I could find for
memcached/memcache, but everytime I attempt to run my application I get
this error:

Error message:
uninitialized constant Rails::Initializer::MemCache

Exception class:
NameError

My environment.rb has these lines:

> require 'memcache'
> config.gem "memcache-client", :lib => "memcache"

I have tried $ telnet localhost 11211 and memcached is definitely
running. Any ideas?

(I'm running Apache2/Passenger)
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.