[rhg-discussion] Rakefile tweak (inkscape path)
Jim Driscoll
j at rjimlad.org
Sun Mar 26 03:40:13 EST 2006
Hi all,
For humble Mac users (and, I suppose, Windows users, but that
introduces a whole slew of other problems), Inkscape may well be
installed, but it's not going to be in the PATH. There are two ways
to handle this: stick its location into ENV["PATH"], or allow the
script to be explicitly informed of the path to this particular
binary. This is a patch to do the latter, using an environment
variable called INKSCAPE_PATH. Thanks to the magic of rake, this can
also be supplied along with the args, like:
rake INKSCAPE_PATH=/Applications/Graphics/Inkscape.app/Contents/
Resources/bin
Anyway, it's convenient for me (and does seem to work)
Jim
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rhg-rakefile-inkscape-path.patch
Type: application/octet-stream
Size: 521 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/rhg-discussion/attachments/20060326/d08d78c1/attachment.obj
More information about the rhg-discussion
mailing list