刘昊
2008-Aug-10 05:37 UTC
[Backgroundrb-devel] uninitialized constant BackgrounDRb (NameError)
hi, guys, I installed the bdrb from the scratch with the following steps: 1. cd vendor/plugin 2. svn co http://svn.devjavu.com/backgroundrb/trunk backgroudrb 3. cd ../.. 4. rake backgroundrb:setup 5. ./script/generate worker example 6. ./script/backgroundrb start 7. ruby lib/workers/example_worker.rb Error msg given out, says: lib/workers/example_worker.rb:1: uninitialized constant BackgrounDRb (NameError) Anybody has any idea about this error? All the best, Hao Liu -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20080810/34ee2372/attachment.html>
Rob Lacey
2008-Aug-10 06:44 UTC
[Backgroundrb-devel] uninitialized constant BackgrounDRb (NameError)
Hao, Trying to run your worker in step 7 simply won''t work. The BackgrounDRb class won''t get loaded automatically, and the worker is complaining that it doesn''t know what BackgrounDRb is. You will get the same error if you try `ruby app/controllers/application.rb` for example. What are you trying to acheive? Are you simply tyrying to test it is installed properly? Rob Lacey ?? wrote:> hi, guys, > I installed the bdrb from the scratch with the following steps: > > 1. cd vendor/plugin > 2. svn co http://svn.devjavu.com/backgroundrb/trunk backgroudrb > 3. cd ../.. > 4. rake backgroundrb:setup > 5. ./script/generate worker example > 6. ./script/backgroundrb start > 7. ruby lib/workers/example_worker.rb > > Error msg given out, says: > lib/workers/example_worker.rb:1: uninitialized constant BackgrounDRb > (NameError) > > Anybody has any idea about this error? > > > All the best, > Hao Liu > > ------------------------------------------------------------------------ > > _______________________________________________ > Backgroundrb-devel mailing list > Backgroundrb-devel at rubyforge.org > http://rubyforge.org/mailman/listinfo/backgroundrb-devel