On Sunday 12 December 2004 12:54 pm, nobu.nokada / softhome.net wrote:
> gabriele renzi wrote in [ruby-talk:123401]:
> > maybe you have RUBYLIB set to search in the old library path, and those
> > having a problem don't have it set so miniruby fails to load from
> > $ruby_build_dir
> > # already compiled, so quick show:
> > C:\ruby-build\ruby>make
> > c:\ruby-build\ruby\miniruby.exe: No such file to load -- ubygems
> > (LoadError) make: *** [all] Error 1
>
> On dosish systems, load paths are relative to the path of the
> ruby DLL.

Ahhh ... thanks.  This does make sense.  I do very little development on 
windows systems and didn't realize the difference. 

> Does it work by adding a line "RUBYOPT=" to Makefile?

You should also be able to create a launch script that sets the value of 
RUBYOPT during a build.

-- 
-- Jim Weirich    jim / weirichhouse.org     http://onestepback.org
-----------------------------------------------------------------
"Beware of bugs in the above code; I have only proved it correct, 
not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)