I have some code that was written in the Ruby-1.8ish era. However,
the newer versions append the version number to all library/etc
filenames, which is causing problems- for example, “/usr/local/bin/
ruby” no longer exists, it’s “/usr/local/bin/ruby19”. I’d stay with
1.8 but when I try to run the software on the new system I’m trying to
set up (FreeBSD) it complains that gzip library isn’t present.
I know from Googling that zlib was included with Ruby starting with
1.8, so I’m not quite sure what’s going on there. Rather than fiddle
with that, I thought I’d just get a newer version (1.9.1 is the
current for FreeBSD 7.1, IIRC), but then I run into the above
mentioned filename problems.
Am I missing something? Surely it should be more backward compatible
than that… I thought the problem might be that the FreeBSD packages
were broken, but compiling from source results in the same problem.
Should I just set up links or rename everything to the old filenames?
Was there some drastic change in Ruby that necessitated the versions
not commingle? Argh.
Thanks for any input,