Our company is running Ruby 1.8.6 patch 111. Is it possible to
install Ruby 1.9.1 on the same machines to test the same application?
If so what is the recommended strategy for having side-by-side
installations and how would you specify which version of Ruby and
Rails that gets started up?
Any insight is greatly appreciated. Thanks, Calvin.
Our company is running Ruby 1.8.6 patch 111. Is it possible to
install Ruby 1.9.1 on the same machines to test the same application?
If so what is the recommended strategy for having side-by-side
installations and how would you specify which version of Ruby and
Rails that gets started up?
On Ubuntu, ruby1.9 comes as a package, with gem1.9 and rake1.9. I have not
used them on the full stack, though.
There are those who use one of the ZenSpider's gems, IIRC, to change between
ruby distros on the fly. That's how maintainers keep a long list of them and
cross-test on them all.
I use stow to have Ruby 1.8.6, 1.8.7, and 1.9 all on the same machine.
Only 1 can be used at any one time, and you have to install each gem
(including rails) separately for each version of Ruby.