-
Notifications
You must be signed in to change notification settings - Fork 18
Replacing the Rails MemCache Client
fredjean edited this page Sep 13, 2010
·
1 revision
This gem is designed to replace the existing MemCache client already provided by Rails. You can add this code to your environment.rb to remove the client provided by Rails and use the JRuby MemCache Client gem instead:
This will undefine the MemCache class, manipulate the load path so the JRuby MemCache Client gem is loaded first and then load the gem. The result is that Rails will use the JRuby MemCache Gem instead of it’s bundled one.