=?UTF-8?Q?=E8=91=89=E5=BF=97=E7=AB=8B_YIP_Chi_Lap_
2007-Sep-30 04:00 UTC
[Backgroundrb-devel] 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 `"#{scripts_src}"/start -d` and
`"#{scripts_src}"/stop`
A patch file and the updated backgroundrb_tasks.rake are
included for your reference.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: backgroundrb_tasks.rake.patch
Type: application/octet-stream
Size: 144 bytes
Desc: not available
Url :
http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20070930/f632269e/attachment-0002.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: backgroundrb_tasks.rake
Type: application/octet-stream
Size: 2545 bytes
Desc: not available
Url :
http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20070930/f632269e/attachment-0003.obj
-------------- next part --------------
Regards,
Beta.
