One of our authors has Ruby under Windows installed in c:\Program Files \ruby

In our rake tasks, we have

ruby %{"#{BIBEXTRACT}" "#{t.source}" >"#{t.name}"}, :verbose => true

When they run this, they see the tracing:

c:/Program Files/ruby/bin/ruby "C:/Development/workspace/EBAND/PPStuff/ util/bin/bibextract.rb" "book.xml" >"book.cited-xml"
'c:/Program' is not recognized as an internal or external command,

The space in the 'Program Files' directory name is being taken as a separator, and so the command doesn't execute.

Is there a simple workaround for this, or do I need o tell the author to reinstall Ruby somewhere with no spaces in the path?


Cheers


Dave
_______________________________________________
Rake-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rake-devel

Reply via email to