Forum: Ruby on Rails sudden NameError after things were working

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
7dd10e685d07b10fa95a4b8c33387922?d=identicon&s=25 Simon (Guest)
on 2007-04-13 15:29
(Received via mailing list)

I am using BackgrounDRb, and have one worker class, parser_worker.rb.
I generated this, added code to the do_work method, and was creating
the workers succesfully from within my rails app.  Then I changed a
bit of code in the function that creates the worker, and in the
worker's do_work method.  I restarted BackgrounDRb and then restarted
WEBrick.  Now when I hit the line of code that creates the worker
(which wasn't changed at all) I receive the following error:

NameError (uninitialized constant ParserWorker):
     (drbunix:///tmp/backgroundrbunix_localhost_2000) /usrlib/ruby/

All I did was change some code within a functioning framework.  Does
anybody have an idea of what the issue may be?


This topic is locked and can not be replied to.