Robert Dober
4/16/2009 6:30:00 PM
On Thu, Apr 16, 2009 at 7:52 PM, Juan Zanos <juan_zanos@talkhouse.com> wrot=
e:
> I'd like to start using Ruby 1.9 more often. =A0Often I could use the ext=
ra
> performance. =A0However, I'm still concerned about bugs and incompatibili=
ties.
> =A0 Is there a practical way to use 1.9 in such a way that these potentia=
l
> problems are minimized? =A0I mostly use Linux and OSX, and on rare occasi=
ons
> Windows.
Sure, install JRuby(1) and run it with --1.9 switch ;). Well if this
is not an option you can do something painful like I did, I installed
1.9.1, 1.8.7 and 1.8.6 into $HOME/opt and have scripts that relink
those directories to $HOME/ruby and put $HOME/ruby/bin into my PATH.
However I have issues with gems and my *only* stable Ruby release is
JRuby. I have aliases to all Ruby tools of JRuby like e.g. jgems,
jspec, jri, jirb.... not to get completely confused, which I am
anyway....
(1) Using JRuby will probably give you the extra speed for 1.8.6 too :)
HTH
Robert
>
--=20
Si tu veux construire un bateau ...
Ne rassemble pas des hommes pour aller chercher du bois, pr=E9parer des
outils, r=E9partir les t=E2ches, all=E9ger le travail=85 mais enseigne aux
gens la nostalgie de l=92infini de la mer.
If you want to build a ship, don=92t herd people together to collect
wood and don=92t assign them tasks and work, but rather teach them to
long for the endless immensity of the sea.
--
Antoine de Saint-Exup=E9ry