solved.
It has obviously been so long that I have forgotten that the rake tasks dont
run under windows :)
use
ruby script/backgroundrb/start instead.
regards
Ivor
On 5/17/07, Ivor Paul <ivorpaul at gmail.com>
wrote:>
> Hi
>
> I have been using backgroundrb version 0.1 for a while. Unfortunately, I
> have to develop on windows :(
> It has worked fine for a while. However, this morning I started up and old
> app that worked fine and get this error.
>
> exec format error
> from running --trace I see that the error comes from backgroundrb_tasks.rb
> line 59 which reads:
>
> 59 `#{scripts_src}/start -d`
>
> Here is the context.
> desc ''Start backgroundrb server (default values)''
> task :start do
> scripts_src = "#{RAILS_ROOT}/script/backgroundrb"
>
> if File.exists?(scripts_src)
> `#{scripts_src}/start -d`
> else
> puts "Backgroundrb is not installed. Run ''rake
backgroundrb:setup''
> first!"
> end
> end
>
> I have recently upgraded to rails 1.2 - could that be the problem?
>
> Regards
> Ivor
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20070517/0c2fb7b5/attachment.html