title: Cannot use memcache in rails localhost
body: <p>I am using rails 3.2.13 for development and would use memcache to cache user information. A gem 'dalli' could help to simply the cache process. However, when I run console <code>Rails.cache.write('alice', 'bob')</code>, it always returns <code>false</code>. Then, I run <code>Rails.cache.read('alice')</code> and output <code>nil</code>. </p>
  
  <p>I ensure setting in config as below but no hope.</p>
  
  <pre><code>config.cache_store = :dalli_store
  config.action_controller.perform_caching = true
  config.cache_classes = true
  </code></pre>
  
  <p>Do I forget to set something? Please give advice. Thanks!</p>