From: John Joyce Date: 2007-09-01T13:22:02+09:00 Subject: Re: Ruby 1.8 and 1.9 On Aug 31, 2007, at 10:52 PM, Cliff Rowley wrote: > I've just successfully compiled Ruby 1.9 under Cygwin (which was > surprisingly easy). Is there a (simple) way to allow 1.8 and 1.9 to > co-exist, allowing me to switch between them at will? > > Thanks > > Cliff > create an alias or symlink for at least one of them and have them in different directories If you create a symlink for 1.9 called ruby19 you can call the 1.9 interpreter with ruby19 script_name.rb Likewise you could create ruby18 for 1.8 That's the easiest way to do it, and common with other software such as PHP 4 or 5 on the same system. Usually, people leave one of the two installations as the default with simply PHP you can do this with Ruby too. With Ruby Gems you might run into some trouble though.