[Yarv-devel] How to compile Ruby 1.9 snapshots in Windows(MinGW)?

Chris Williams cwillia1 at rochester.rr.com
Thu Feb 24 22:45:32 EST 2005


Koichi-san,

(Or should it be Sasad-san?)

>  > gcc -g -O2      main.o dmyext.o libmsvcrt-ruby18-static.a -lwsock32
>    -o
>  > miniruby.exe
>  >
>  > c:\ruby19\build\ruby\miniruby.exe: No such file to load -- ubygems
>  > (LoadError)
> 
> At first, you need ruby 1.9. (libmsvcrt-ruby18-static.a should not
> appear above)
> 
> And you must remove RUBYOPT environment variable (Maybe your RUBYOPT
> includes "-rubygems")
> 
> BTW, you can also use yarv with cygwin.
> 
> Cheers,
> SASADA Koichi

You are correct, my RUBYOPT environment variable was set to "rubygems".
After removing the variable from my system Ruby properly built. I'm
running the YARV benchmarks now!

Thanks,
Chris



More information about the Yarv-devel mailing list