From: pere.noel@... (=?ISO-8859-1?Q?Une_b=E9vue?=) Date: 2006-11-26T05:25:14+09:00 Subject: Re: [Mac OS X] having three ruby versions installed Paul Lutus wrote: > > And because i want to use some java libs i need the third one jRuby. > > Already addressed. Another advantage to the symlink approach is that, if you > try: > > $ ruby -version > > The result will be consistent ok for jruby itself i could do also a symlink. but jruby by itself is useless for example i want to install a gem into the ruby under jruby the expended command line would be : /Users/yvon/bin/jruby/bin/jruby /users/yvon/bin/jruby/bin/gem --config-file /users/yvon/.jgemrc install with my alias i can do simply : jgem install again, in my opinion, it is much more simpler to use (zsh) aliases than symlinks because those aliases ar writen in a standard text file. to terminate with (i don't want to convince you) from time to time, i write ruby extension in C, the way i call the compiler is simply : ycc file.c because in the aliases file of zsh o do have a line like that : alias ycc='cc -W -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -pedantic -stb=c99 -O2 -pipe -o ' i could do a symlink to a shell script called "ycc" and doing the above line, i agree also, but quiet frankly it's so easy to add an alias into the "aliases file of zsh... i do have a lot like that, last example, some times from Terminal we have to cd tp the ~/Desktop i do have an alias for that : alias -g 'yd'='~/Desktop' in the terminal i've only to enter : cd yd -- une b�vue