Displaying 7 results from an estimated 7 matches for "worker_rail".
Did you mean:
worker_rails
2007 Feb 07
2
ncluding backgroundrb issue
I have the next including files structure :
- controller fileaA.rb including line (#8): require "fileB"...
- /lib/fileB.rb with main header: load ''backgroundrb/worker.rb''
load ''backgroundrb/
worker_rails.rb''
class FileB <
BackgrounDRb::Worker::RailsBase
........................................................................
and on line #72: FileB .register
when I restart my lighttpd web server , at the fi...
2007 Mar 05
3
postgres barfage revisted
...mpiled for Mac OS X yet (granted, I haven''t given it
too much effort yet), so I figured I''d try the second option. I
couldn''t find any start script where I could actually make that
setting have any effect, and eventually I realized that it''s being set
to true at worker_rails.rb:21. If I comment out that line, suddenly
I''m back in business!
What I wonder is if I''m setting myself up for future catastrophe with
that change. I figure it''s got to be in there for *some* reason. I
think I read somewhere that Backgroundrb changed from a multi-th...
2006 Nov 20
4
Production RAILS_ENV / DB Selection
Hey all,
I''m having some issues moving a project that incorporates Backgroundrb onto
a staging server... For some reason (surely of my own doing), my RailsBase
workers are insisting on using trying to access my development DB instead of
my "production" DB.
When I try to load a model object from within a worker, I get the following:
20061120-21:54:28 (26296)
2006 Dec 06
0
Testing your workers
...#39;'/lib'')
$LOAD_PATH << File.join(BACKGROUNDRB_CODE + ''/server/lib'')
$LOAD_PATH << File.join(BACKGROUNDRB_CODE + ''/server/lib/backgroundrb'')
require ''backgroundrb_server''
require "backgroundrb"
require "worker_rails"
require File.dirname(__FILE__) + ''/../../lib/workers/add_analyst_worker''
require ''drb''
----------------
Now the error I get is:
---------------------
./test/unit/../../vendor/plugins/backgroundrb/server/lib/backgroundrb/middleman.rb:158:in
`register_wo...
2007 Feb 20
1
"Text is not a module"
...t/dependencies.rb:342:in
`new_constants_in''
20070220-14:41:56 (4800)
/u/testapp/config/../vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:495:in
`require''
20070220-14:41:56 (4800)
/u/testapp/vendor/plugins/backgroundrb/server/lib/backgroundrb/worker_rails.rb:24:in
`initialize''
20070220-14:41:56 (4800)
/u/testapp/vendor/plugins/backgroundrb/server/lib/backgroundrb/middleman.rb:211:in
`new_worker''
20070220-14:41:56 (4800)
/u/testapp/vendor/plugins/backgroundrb/server/lib/backgroundrb/thread_pool.rb:36:in
`dispatch''
20070...
2006 Nov 11
0
Error when creating a new worker -- "Text is not a module - (TypeError)"
...ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require''
/Users/guest/workspace/nano/config/../vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:147:in
`require''
/Users/guest/workspace/nano/vendor/plugins/backgroundrb/server/lib/backgroundrb/worker_rails.rb:19:in
`initialize''
/Users/guest/workspace/nano/vendor/plugins/backgroundrb/server/lib/backgroundrb/middleman.rb:170:in
`new_worker''
/Users/guest/workspace/nano/vendor/plugins/backgroundrb/server/lib/backgroundrb/thread_pool.rb:36:in
`dispatch''
/Users/guest/workspace/n...
2007 Feb 28
0
IOError problem
...:12 (9128)
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/connection_adapters/abstract/connection_specification.rb:51:in
`allow_concurrency=''
20070228-13:36:12 (9128)
/usr/local/www/data/cee/public/../config/../vendor/plugins/backgroundrb/server/lib/backgroundrb/worker_rails.rb:20:in
`initialize''
20070228-13:36:12 (9128)
/usr/local/www/data/cee/public/../config/../vendor/plugins/backgroundrb/server/lib/backgroundrb/middleman.rb:211:in
`new''
20070228-13:36:12 (9128)
/usr/local/www/data/cee/public/../config/../vendor/plugins/backgroundrb/server/lib...