i built ruby 1.6.8 in cygwin on my “windows xp sp 1”-machine
my problem:
i CAN execute “ruby -v” on both - cygwin and cmd.exe (windows shell).
all ruby scripts work on both environments. even file access.
but as soon as i try to do
require 'cgi’
or require 'something else’
it DOES WORK on cygwin but windows says: "no such file or directory"
i think this is because ruby uses the unix-style-paths to access the
require-directory, but i’m just guessing that…
i need to know if there is a way to TELL RUBY THE CORRECT REQUIRE-DIRECTORY
explicit because i need to let this script run in a windows environment - it
should be called out of IIS (but i can’t just use the PP-installer because i
depend on a library i can only link into ruby when it’s built by cygwin).
all other ideas/solutions/tips/hints/approaches are also very welcome…
thx for help beforehand,
patrick