I'm following this example, http://github.com/brodyberg/heroku_redis_example in order to get Resque/Redis working and it seems pretty straightforward. But when I try and call my super simple Resque class I get this error / stack trace:
Errno::EAFNOSUPPORT (Address family not supported by protocol - socket(2)): redis (2.0.10) lib/redis/client.rb:215:in `initialize' redis (2.0.10) lib/redis/client.rb:215:in `new' redis (2.0.10) lib/redis/client.rb:215:in `connect_to' /home/slugs/289875_1f5b5b6_5f24/mnt/.gems/gems/system_timer-1.0/lib/ system_timer.rb:28:in `timeout_after' redis (2.0.10) lib/redis/client.rb:276:in `with_timeout' redis (2.0.10) lib/redis/client.rb:214:in `connect_to' redis (2.0.10) lib/redis/client.rb:23:in `connect' redis (2.0.10) lib/redis/client.rb:242:in `ensure_connected' redis (2.0.10) lib/redis/client.rb:268:in `ensure_connected' /usr/ruby1.8.7/lib/ruby/1.8/monitor.rb:242:in `synchronize' redis (2.0.10) lib/redis/client.rb:264:in `synchronize' redis (2.0.10) lib/redis/client.rb:268:in `ensure_connected' redis (2.0.10) lib/redis/client.rb:61:in `process' redis (2.0.10) lib/redis/client.rb:199:in `logging' redis (2.0.10) lib/redis/client.rb:60:in `process' redis (2.0.10) lib/redis/client.rb:34:in `call' redis (2.0.10) lib/redis.rb:227:in `sadd' /home/slugs/289875_1f5b5b6_5f24/mnt/.gems/gems/redis-namespace-0.8.0/ lib/redis/namespace.rb:188:in `send' /home/slugs/289875_1f5b5b6_5f24/mnt/.gems/gems/redis-namespace-0.8.0/ lib/redis/namespace.rb:188:in `method_missing' resque (1.10.0) lib/resque.rb:184:in `watch_queue' resque (1.10.0) lib/resque.rb:129:in `push' resque (1.10.0) lib/resque/job.rb:51:in `create' resque (1.10.0) lib/resque.rb:206:in `enqueue' app/controllers/tools_controller.rb:11:in `get_site_activity' This happens when I call Resque.enqueue. I've got the redis addon turned on and all of the rest of the config looks right, but obviously there's something I'm missing. Any ideas? Gabriel -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
