Exerb & Windows installations

I have a problem…

I use Ruby 1.7.x on Windows, but exerb appears to be based on 1.6.7.
As such, if I use, say, Net::FTP, then things won’t work (I got a
segfault).

There are, of course, two solutions to this: to use 1.6.7 in addition
to 1.7.x, or to get/find/make a version of exerb that works with
1.7.x.

So, my questions is twofold:

  1. How easy/possible is it to have both 1.6.7 and 1.7.x on my Windows
    machine? The 1.7.x will be my primary Ruby environment, and I’ll
    switch environments with a batch file if I must.

  2. Is there a precompiled version of exerb that works with 1.7.x?
    This is the preferable solution.

-austin
– Austin Ziegler, austin@halostatue.ca on 2002.10.19 at 01.08.55

Hi,

  1. How easy/possible is it to have both 1.6.7 and 1.7.x on my Windows
    machine? The 1.7.x will be my primary Ruby environment, and I’ll
    switch environments with a batch file if I must.

Easy (I guess). You just need to change name of executables,
ruby.exe and rubyw.exe, when you install them in same directory
to share site_ruby directory. Fundamentally, ruby itself never
modify system DLL’s nor registory.

  1. Is there a precompiled version of exerb that works with 1.7.x?
    This is the preferable solution.

AFIAK, no. You need to compile by yourself, perhaps replacing
all “ruby16.dll” with “ruby17.dll” in src/exerb/exerb.cpp.
Although I’ve never tried yet.

···

At Sat, 19 Oct 2002 14:29:38 +0900, Austin Ziegler wrote:


Nobu Nakada