Re: Error when using memcached uninitialized constant Memcached (NameError)

2010-12-15 Thread chris
Remove the gem 'memcached' line from your gemfile and you should be good to go. You only need the dalli gem. -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group,

Re: Error when using memcached uninitialized constant Memcached (NameError)

2010-12-13 Thread Alex Killough
Hi, I'm still having difficulty with memchaced, this time using dalli as my client. This is a rails 3 app. in config/environments/production.rb: # Use a different cache store in production config.cache_store = :dalli_store config.perform_caching = true

Re: Error when using memcached uninitialized constant Memcached (NameError)

2010-11-10 Thread joshmckin
Try Dalli. It works great and reduces your slug size 10 mb. https://github.com/mperham/dalli On Nov 10, 4:54 am, Alex Killough alexkillo...@gmail.com wrote: Hi, was there ever any resolution to this issue? I receive the same   errors shown below when trying to use memcached-northscale (as

Error when using memcached uninitialized constant Memcached (NameError)

2010-09-10 Thread riton
Hello, I added the memcache 5MB free addon to my application. I'm trying to make it work using the northscale gem as specified in the documentation. I can't make it to work. I can't get past this error /production.rb:33: uninitialized constant Memcached (NameError) Here is my Gemfile: gem

Re: Error when using memcached uninitialized constant Memcached (NameError)

2010-09-10 Thread Oren Teich
if you're using a gemfile, you don't want to have any config.gem directives. It's one or the other. Bundler replaces the way rails 2.3 handles gems. http://gembundler.com/rails23.html http://gembundler.com/rails23.htmlif oyu're using bundler, it's gem memcached-northscale, :require = memcache

Re: Error when using memcached uninitialized constant Memcached (NameError)

2010-09-10 Thread riton
hi Oren, Thanks for looking into my issue. Here are the modifications I made to my app , according to the heroku documentation and what you just said. Please, can you tell me what's wrong in that: environment.rb: no changes. I don't have to add the 'config gem' and 'require' lines

Re: Error when using memcached uninitialized constant Memcached (NameError)

2010-09-10 Thread Abel Tamayo
Hi Riton, I'd suggest that you try this: #Gemfile gem 'SystemTimer' #Not necessary, but memcache recommends it for performance. gem 'memcached' #Notice it's memcached, with a D. #production.rb config.cache_store = :mem_cache_store, Memcached::Rails.new and nothing else. These three lines are

Re: Error when using memcached uninitialized constant Memcached (NameError)

2010-09-10 Thread Oren Teich
I missed the last d. gem memcached-northscale, :require = memcached On Fri, Sep 10, 2010 at 3:38 PM, riton enjoy...@gmail.com wrote: hi Oren, Thanks for looking into my issue. Here are the modifications I made to my app , according to the heroku documentation and what you just said.