D
David Jacobs
[Note: parts of this message were removed to make it a legal post.]
Today's my last day at work, and my boss wants me to move a Ruby library I
wrote to her Windows computer.
I want to create an install script that moves my library into the Ruby bin
directory. One problem: how do I find that directory programmatically? On
Linux I'd shell out to `which`, but that doesn't appear to be an option in
XP.
Thoughts?
David
PS Yes, I've looked into RubyScript2exe (doesn't work with 1.9) and OCRA
(doesn't let the console screen stay open), and I think that using a custom
installer is the way to go here.
Today's my last day at work, and my boss wants me to move a Ruby library I
wrote to her Windows computer.
I want to create an install script that moves my library into the Ruby bin
directory. One problem: how do I find that directory programmatically? On
Linux I'd shell out to `which`, but that doesn't appear to be an option in
XP.
Thoughts?
David
PS Yes, I've looked into RubyScript2exe (doesn't work with 1.9) and OCRA
(doesn't let the console screen stay open), and I think that using a custom
installer is the way to go here.