search for: test_backgroundrb

Displaying 2 results from an estimated 2 matches for "test_backgroundrb".

2007 May 26
0
New worker not being created
...> end > > def other_method > logger.info(''other_method in ExampleWorker called'') > results[:extra_data] = "Just a plain old string" > end > > end > ExampleWorker.register > > Then in a controller, I have: > > def test_backgroundrb > key = MiddleMan.new_worker(:class => :example_worker) > worker = MiddleMan.worker(key) > worker.other_method > worker.delete > end > > When I point the browser to test_backgroundrb, I get: > > NoMethodError (undefined method `object'' for ni...
2006 Aug 25
4
Rake tasks fail silently, how to debug?
Hi, I''ve been using backgroundrb with some success up to now, but now when I do the start or setup tasks they just fail silently. Nothing in the log, no .pid file, and nothing in the process list. Rake with -trace just says, ** Invoke backgroundrb:setup (first_time) ** Execute backgroundrb:setup Any hints on how I can get more verbosity, or thoughts on what might be happening? (This