Displaying 20 results from an estimated 20000 matches similar to: "install problem"
2006 Oct 24
5
deployment issues?
Thanks to many of you, I''ve got my session management working with BackGrounDRb. Very cool. So now I need to deploy it. I''m on a shared hosting plan (at a2hosting in case that matters). Are there any issues I should expect to have to deal with in getting them to deploy the plugin? Anything special I need to do? I''m wondering in particular about the ''start
2006 Sep 18
1
Problem with install on IR/Windows
I''m getting an error I don''t understand when I try to install the BackgrounDRb plugin.
I installed the plugin yesterday, or thought I did, and tried this morning to start the daemon. Got an error and so tried to reinstall using:
>ruby script\plugin install svn://rubyforge.org//var/svn/backgroundrb --force
The first line of the reponse says:
svn:
2006 Oct 16
3
backgroundrb.yml not generated
I''m trying to do the tutorial at http://www.infoq.com/articles/BackgrounDRb. A little more than half-way through it says "Upon instalation, the plugin writes a config file into RAILS_ROOT/config/backgroundrb.yml." It didn''t happen for me.
I installed the plugin with:
ruby script\plugin install svn:\\rubyforge.org//var/svn/backgroundrb
It added a bunch of files,
2007 Oct 24
4
Need advice - which version to use?
Greetings!
I could use some advice on which version of BackgrounDrb to use in my current situation. I''ve implemented the initial, single-process multi-threaded version in a previous site, but have no experience with the new version. Current situation is as follows.
The application involves personal health information and so has very stringent session management requirements. My
2006 Oct 16
6
accessing session data in worker
Is there something special I need to do to access session data in a worker?
I''m using an AR session store. I''ve been working with Ezra''s tutorial, modifying it a little here and there to figure it out. So I changed the progress bar to a simple count-down in the worker which sends back the count to display in the view. No big deal. But if I try to access session
2006 Oct 23
8
can a worker commit suicide?
Can a worker kill themselves when they''re ''done''? Or do I have to do that either from the controller or the worker manager?
Thanks,
Bill
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20061023/11dd429c/attachment.html
2006 Dec 31
0
backgroundrb 0.2.1 doesn''t always load rails environment
I found this stack trace in my logs. My worker name is MiscWorker,
and Qualifier is a Rails model.
uninitialized constant MiscWorker::Qualifier: /Users/bryan/
Workspace/sandbox/scraper-trunk/config/../vendor/rails/activerecord/
lib/../../activesupport/lib/active_support/dependencies.rb:476:in
`const_missing''
/Users/bryan/Workspace/sandbox/scraper-trunk/lib/workers/
2007 Dec 16
0
Running default rake tasks?
I installed via piston and when in vendor/plugins/backgroundrb, I
attempt to run the default rake task:
(in /home/wallace/new_bdrb-wheels/vendor/plugins/backgroundrb)
rake aborted!
no such file to load -- spec/rake/spectask
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require''
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require''
2008 Jan 03
1
Thread_pool bug?
I have a previous question regarding long tasks and the thread_pool (sorry
for the dup, I didn''t see the first go through). To try and track things
down, I made a change based on a suggestion found in the archives. I moved
my import contacts worker to its own file and set the pool_size to 1.
class ImportContactsWorker < BackgrounDRb::MetaWorker
set_worker_name
2007 Dec 21
0
rake test:plugins gives uninitialized constant RAILS_ROOT
Hello,
Just upgraded to the the latest backgroundRb.I am getting an error
when i run the task "rake test:plugin". Any idea why I am getting this?
Here is the error message:
/usr/bin/ruby1.8 -Ilib:test
"/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/rake_test_loader.rb"
"vendor/plugins/backgroundrb/test/master_worker_test.rb"
2007 Sep 30
0
Patch: background_tasks.rake
Hi,
* Background
I develop rails app with backgrounDRb where
one of its parent folders has a space in its name.
* Problem
rake backgroundrb:start and rake backgroundrb:stop
do not work
* Analysis
This is because the line for start and stop
in backgroundrb_tasks.rake do not quote #{scripts_src}
* Patch
Quote the #{scripts_src} in the two lines so they
become
2006 Nov 04
6
Ruby/XSLT
Anybody got any experience using this ( http://greg.rubyfr.net/pub/packages/ruby-xslt/files/README.html ) ? I asked my hosting company (a2hosting.com) about XSLT processors for Rails and mentioned this one. Four hours later I get email that they''ve installed it. Thing is, the documentation didn''t generate, and when I execute ''gem list --local'' it''s
2006 Jul 07
1
Fwd: installing backgroundrb
I''m trying to use BackgrounDRb to do image processing on large
uploaded zip files of images, but
$script/plugin install svn://rubyforge.org//var/svn/backgroundrb
gives me this:
/usr/lib/ruby/1.8/open-uri.rb:88:in `initialize'': No such file or
directory - svn://rubyforge.org//var/svn/backgroundrb (Errno::ENOENT)
I can install the old version with
$script/plugin install
2006 Jul 25
1
Production deployment?
Hi all,
BackgrounDrb was exactly what I needed for a project I''m working on at
work. Everyone''s really impressed, and now it''s time to put the
system into production.
My question is, how do I avoid having to manually run the startup and
shutdown scripts (or the rake tasks) for backgroundrb?
I tried putting a system "rake backgroundrb:start" in my
2008 Mar 18
1
regarding problem backgroundrb setup(new to ruby on rails)
Hi all
My problem is that:
With reference to
http://backgroundrb.rubyforge.org/
1---I have download backgroundrb from
http://opensvn.csie.org/ezra/rails/backgroundrb
to my vendor/plugin in my application folder.
2-- after that I used the command to run :-rake backgroundrb:setup --
trace
From my application
2006 Sep 15
2
unable to figure out how to get backgroundrb.yml to be used when starting backgroundrb
i ran rake backgroundrb:setup and modified the default
config/backgroundrb.yml file as:
---
port: "22223"
timer_sleep: 60
load_rails: true
environment: production
host: localhost
database_yml: config/database.yml
acl:
deny: all
allow: localhost 127.0.0.1
order: deny,allow
and my database.yml
production:
adapter: mysql
database: chip2_production
username: xxxxx
password:
2006 Oct 17
6
Session access interfers with other model access
Sorry to be such a bother but I''m not getting this.
I have two models: Emrec and Session (I''m using AR for session mgmt.) In my
worker I can access the Emrec model and delete a record, AS LONG AS I don''t
try to access the Session model. With the Session model access commented
out as below, the Emrec record gets deleted. If I uncomment those lines,
the Emrec
2007 Feb 02
7
logging problem in production
Greetings all;
I''ve just moved my app into production and BackgrounDRb is writing to development.log. The backgroundrb.yml file specifies production, as does environment.rb.
A little background (no pun intended ;-0 ) I''m using the ''old'' version of backgroundrb for session management. In the app, whenever a visitor changes pages I record the time in a db
2006 Sep 05
0
Upgrading backgroundrb problems
I just ran into the same problem as James Hughes (thread "Rake tasks
fail silently, how to debug?").
I''m wondering if the rake backgroundrb:setup task should always
overwrite the script/backgroundrb files to be on the safe side. Or at
least warn that some already exist.
Maybe there''s a way to be noisy if the backgroundrb:start task doesn''t
actually start a
2008 May 21
2
How to know the environment (development/test/production) inside a worker
Hi Guys,You can start backgroundRb in different environments using -e
option.
./script/backgroundrb -e production
I like to run a rake task from my worker - something like rake
RAILS_ENV=proper_environment thinking_sphinx:start
I am not sure how to figure out the environment with which the backgroundRb
is started from inside a worker task. Any help is appreciated. Thanks for
your time.
Regards