memcached on Win32

Subscribe to memcached on Win32 3 posts, 2 voices

 
Avatar Ed Laczynski 26 posts

Hey guys, hope all is well. I’ve been hibernating with my Rails and Ruby books and have been able to put together some pretty neat little Rails apps. Thank you to everyone here who has helped me make the switch.

Anyway, I’ve come across a slight issue. I am developing on Mac OS X – I was able to successfully get memcached to work using the instructions here: http://nubyonrails.com/articles/2006/08/17/memcached-basics-for-rails

Now I am deploying to a Win32 server. Everything works great, except that my app reports a “uninitialized constant [classname]:Cache” when attempting to use the cache. I assume all the code should basically “work” since I have memcache and the cache_model gem install on my Win32 instance.

Has anyone had any experience running Rails/Memcache on Win32?

 
Avatar Jeff Cohen 89 posts

Did you install the win32 version of memcached first? The one I know about is here

Jeff

 
Avatar Ed Laczynski 26 posts

Yep, sure did.

I installed the cached_model gem AND the memcache-client gem as well (even though memcache-client is supposed to be a dependency of the former).

I’ll keep digging.