How do I get "ruby" to do what "ruby1.9.1" does?
Posted
by
Daniel
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Daniel
Published on 2011-08-09T01:42:01Z
Indexed on
2012/03/20
11:38 UTC
Read the original article
Hit count: 267
command-line
|ruby
I want to start off by saying... I really don't need to be using 1.9.2. I understand that you don't ever, ever use Python 3.2, so if the common advice is that I should use 1.8, I'll do that. But don't tell me to do that because it's easier.
Whatever version I should be using, though, the question is still relevant: What's a good way to make one command do another command?
(I suppose I could write a c program to launch ruby1.9.1, call the executable ruby, and put it in my bin, but this seems like less than a good idea)
© Ask Ubuntu or respective owner