bug fixes for ruby server runner

Added bug fixes for:

* running tasks from a path (tasks with a slash in their name)
* running tasks with spaces in the name or path