I'm not sure if this is a related issue or not, but heroku have an example
app of Rails 3b4 with memcached here:

http://github.com/heroku-examples/r3b4-memcache-heroku

However, if we flip it to memcached-northscale we start seeing :

/Users/neil/Dropbox/code/r3b4-memcache-heroku/config/environments/production.rb:29:
uninitialized constant Memcached (NameError)
from
/Library/Ruby/Gems/1.8/gems/railties-3.0.0.beta4/lib/rails/application.rb:55:in
`class_eval'
from
/Library/Ruby/Gems/1.8/gems/railties-3.0.0.beta4/lib/rails/application.rb:55:in
`configure'
from
/Users/neil/Dropbox/code/r3b4-memcache-heroku/config/environments/production.rb:1
from
/Library/Ruby/Gems/1.8/gems/railties-3.0.0.beta4/lib/rails/application/bootstrap.rb:10:in
`require'
from
/Library/Ruby/Gems/1.8/gems/railties-3.0.0.beta4/lib/rails/application/bootstrap.rb:10
from
/Library/Ruby/Gems/1.8/gems/railties-3.0.0.beta4/lib/rails/initializable.rb:25:in
`instance_exec'
from
/Library/Ruby/Gems/1.8/gems/railties-3.0.0.beta4/lib/rails/initializable.rb:25:in
`run'
from
/Library/Ruby/Gems/1.8/gems/railties-3.0.0.beta4/lib/rails/initializable.rb:55:in
`run_initializers'
from
/Library/Ruby/Gems/1.8/gems/railties-3.0.0.beta4/lib/rails/initializable.rb:54:in
`each'
from
/Library/Ruby/Gems/1.8/gems/railties-3.0.0.beta4/lib/rails/initializable.rb:54:in
`run_initializers'
from
/Library/Ruby/Gems/1.8/gems/railties-3.0.0.beta4/lib/rails/application.rb:119:in
`initialize!'
from
/Library/Ruby/Gems/1.8/gems/railties-3.0.0.beta4/lib/rails/application.rb:81:in
`send'
from
/Library/Ruby/Gems/1.8/gems/railties-3.0.0.beta4/lib/rails/application.rb:81:in
`method_missing'
from /Users/neil/Dropbox/code/r3b4-memcache-heroku/config/environment.rb:5
from config.ru:3:in `require'
from config.ru:3
from /Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/builder.rb:46:in
`instance_eval'
from /Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/builder.rb:46:in
`initialize'
from config.ru:1:in `new'
from config.ru:1


This might be a non-issue, but we thought it worth pointing out differences
between the two gems.

Neil

On Thu, Jun 24, 2010 at 5:39 PM, Sean Lynch <se...@literati.org> wrote:

> Hi, Eki.
>
> This is a side-effect of Fauna's throwing exceptions for errors that would
> just show up as misses in memcache-client. I've fixed this and it's in
> testing in a gem called memcached-northscale. You still use "require
> 'Memcached'", just use memcached-northscale instead of memcached in your
> gem.
>
> Once I get feedback that it a) solves the problem and b) doesn't cause
> other problems, I'll get it incorporated into Fauna.
>
> Thanks!
> -Sean
>
> On Jun 24, 2010, at 3:46 AM, Eki wrote:
>
> > Hi guys ,
> > I'm trying to use memcached with my application , I followed the
> > official instructions to do so but still not working ,
> > the error msg is something like this :
> >
> > Memcached::ServerIsMarkedDead (Key
> > {"country_x_y_z"=>"127.0.0.1:11211:8"}):
> >  memcached (0.19.7) lib/memcached/memcached.rb:609:in
> > `check_return_code'
> >  memcached (0.19.7) lib/memcached/memcached.rb:515:in `get'
> >  memcached (0.19.7) lib/memcached/rails.rb:39:in `get'
> >  app/controllers/prayer_times_controller.rb:9:in `index'
> >  /home/heroku_rack/lib/static_assets.rb:9:in `call'
> >  /home/heroku_rack/lib/last_access.rb:25:in `call'
> >  /home/heroku_rack/lib/date_header.rb:14:in `call'
> >  thin (1.0.1) lib/thin/connection.rb:80:in `pre_process'
> >  thin (1.0.1) lib/thin/connection.rb:78:in `catch'
> >  thin (1.0.1) lib/thin/connection.rb:78:in `pre_process'
> >  thin (1.0.1) lib/thin/connection.rb:57:in `process'
> >  thin (1.0.1) lib/thin/connection.rb:42:in `receive_data'
> >  eventmachine (0.12.6) lib/eventmachine.rb:240:in `run_machine'
> >  eventmachine (0.12.6) lib/eventmachine.rb:240:in `run'
> >  thin (1.0.1) lib/thin/backends/base.rb:57:in `start'
> >  thin (1.0.1) lib/thin/server.rb:150:in `start'
> >  thin (1.0.1) lib/thin/controllers/controller.rb:80:in `start'
> >  thin (1.0.1) lib/thin/runner.rb:173:in `send'
> >  thin (1.0.1) lib/thin/runner.rb:173:in `run_command'
> >  thin (1.0.1) lib/thin/runner.rb:139:in `run!'
> >  thin (1.0.1) bin/thin:6
> >  /usr/local/bin/thin:20:in `load'
> >  /usr/local/bin/thin:20
> >
> > Rendering /disk1/home/slugs/212292_698e4ed_e2ba/mnt/public/500.html
> > (500 Internal Server Error)
> >
> > Any help will b highly appreciated .
> > Hope to hear from you soon guys .
> >
> > Cheers
> > Eki
> >
> > --
> > 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, send email to
> heroku+unsubscr...@googlegroups.com<heroku%2bunsubscr...@googlegroups.com>
> .
> > For more options, visit this group at
> http://groups.google.com/group/heroku?hl=en.
> >
>
> --
> 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, send email to
> heroku+unsubscr...@googlegroups.com<heroku%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/heroku?hl=en.
>
>

-- 
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, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.

Reply via email to