Created
January 15, 2011 12:39
-
-
Save tjl2/780883 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bundle exec ./script/console | |
Loading development environment (Rails 2.3.10) | |
>> class TestQueue | |
>> @queue = :test | |
>> def self.perform(thing) | |
>> logger.debug("Performing thing: #{thing}") | |
>> end | |
>> end | |
=> nil | |
>> Resque.enqueue(TestQueue, "this thing") | |
NoMethodError: undefined method `sadd' for nil:NilClass | |
from /Library/Ruby/Gems/1.8/gems/activesupport-2.3.10/lib/active_support/whiny_nil.rb:52:in `method_missing' | |
from /Library/Ruby/Gems/1.8/gems/redis-namespace-0.8.0/lib/redis/namespace.rb:188:in `send' | |
from /Library/Ruby/Gems/1.8/gems/redis-namespace-0.8.0/lib/redis/namespace.rb:188:in `method_missing' | |
from /Library/Ruby/Gems/1.8/gems/resque-1.10.0/lib/resque.rb:184:in `watch_queue' | |
from /Library/Ruby/Gems/1.8/gems/resque-1.10.0/lib/resque.rb:129:in `push' | |
from /Library/Ruby/Gems/1.8/gems/resque-1.10.0/lib/resque/job.rb:51:in `create' | |
from /Library/Ruby/Gems/1.8/gems/resque-1.10.0/lib/resque.rb:206:in `enqueue' | |
from (irb):7 | |
>> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment