# How can I disable the memcache client in ActiveSupport

**URL:** <https://www.ruby-forum.com/t/how-can-i-disable-the-memcache-client-in-activesupport/171460>\
**Category:** Rails\
**Created:** [July 2, 2009, 10:06pm UTC](https://www.ruby-forum.com/t/how-can-i-disable-the-memcache-client-in-activesupport/171460 "2009-07-02T22:06:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![weyus](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/7ab992/32.png) [@weyus](https://www.ruby-forum.com/u/weyus)\
**Post date:** [July 2, 2009, 10:06pm UTC](https://www.ruby-forum.com/t/how-can-i-disable-the-memcache-client-in-activesupport/171460/1 "2009-07-02T22:06:41Z")

</div>

Since Rails 2.1, the memcache-client gem has been bundled with  
ActiveSupport.

I have an app. which has a customized version of the memcache-client  
code, and I would like to disable the built-in memached-client.

How can I go about doing that?

Thanks,  
Wes

---

<div class="post-metadata">

**Author:** ![weyus](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/7ab992/32.png) [@weyus](https://www.ruby-forum.com/u/weyus)\
**Post date:** [July 2, 2009, 10:49pm UTC](https://www.ruby-forum.com/t/how-can-i-disable-the-memcache-client-in-activesupport/171460/2 "2009-07-02T22:49:36Z")

</div>

SOLUTION:

I forced my custom version to be loaded by using a more explicit  
‘require’ statement and this overrode the built-in memcache client.

Wes
