aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorWincent Colaiuta <win@wincent.com>2010-09-03 01:23:15 +0200
committerSantiago Pastorino <santiago@wyeworks.com>2010-10-10 14:30:22 -0200
commitf659a1576fc4a447bbfbd866c7244d8d790a3d9c (patch)
tree91f7c6a477c243bb2bfd5f2c6a472d7c7c0d1ccc /activesupport
parentd80afed620dde5b9356c883ae187db2332d4c18e (diff)
downloadrails-f659a1576fc4a447bbfbd866c7244d8d790a3d9c.tar.gz
rails-f659a1576fc4a447bbfbd866c7244d8d790a3d9c.tar.bz2
rails-f659a1576fc4a447bbfbd866c7244d8d790a3d9c.zip
Fix misleading advice to add 'memcache' to Gemfile
[#5539 state:committed] Commit 57144388f removed the hard-coded dependency on the memcache-client gem, and added this warning advising people to install it if needed. The problem is, however, that if people follow the advice literally and install the 'memcache' gem, they will wind up with a completely different thing, which is not API compatible with the memcache-client gem and which Rails can't work with. So, be explicit and tell users to install the 'memcache-client' gem. Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/cache/mem_cache_store.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/cache/mem_cache_store.rb b/activesupport/lib/active_support/cache/mem_cache_store.rb
index 9eee3fc5e3..45263d482f 100644
--- a/activesupport/lib/active_support/cache/mem_cache_store.rb
+++ b/activesupport/lib/active_support/cache/mem_cache_store.rb
@@ -1,7 +1,7 @@
begin
require 'memcache'
rescue LoadError => e
- $stderr.puts "You don't have memcache installed in your application. Please add it to your Gemfile and run bundle install"
+ $stderr.puts "You don't have memcache-client installed in your application. Please add it to your Gemfile and run bundle install"
raise e
end
require 'digest/md5'