Ticket #66 (new enhancement)

Opened 1 year ago

Last modified 1 year ago

[PATCH] background_tasks.rake handling names with spaces

Reported by: beet..@gmail.com Assigned to: beet..@gmail.com
Priority: minor Milestone:
Component: rails_integration Version: 0.2.1
Keywords: Cc:

Description

* 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.

Attachments

backgroundrb_tasks.rake.patch (144 bytes) - added by beet..@gmail.com on 09/30/07 08:17:28.
patch file
backgroundrb_tasks.rake (2.5 kB) - added by beet..@gmail.com on 09/30/07 08:18:26.
Patched background_tasks.rake

Change History

09/30/07 08:17:28 changed by beet..@gmail.com

  • attachment backgroundrb_tasks.rake.patch added.

patch file

09/30/07 08:18:26 changed by beet..@gmail.com

  • attachment backgroundrb_tasks.rake added.

Patched background_tasks.rake

09/30/07 08:21:44 changed by beet..@gmail.com

  • summary changed from [Patch] background_tasks.rake handling names with spaces to [PATCH] background_tasks.rake handling names with spaces.