From: Ken Bloom Date: 2009-04-05T13:09:24+09:00 Subject: Re: How to get "irb1.8" using Ruby1.8 instead of Ruby1.9.1 ? On Sat, 04 Apr 2009 14:47:27 -0500, I単aki Baz Castillo wrote: > Hi, in Debian I've ruby1.8 (/usr/bin/ruby1.8) and irb1.8 installed as > DEB packages, and Ruby 1.9.1 installed from sources, so /usr/bin/ruby is > Ruby 1.9.1. > > When I run "irb1.8" it uses Ruby 1.9.1: > > ~$ irb1.8 > irb> RUBY_VERSION > "1.9.1" > > How could I get irb1.8 using Ruby 1.8? I see no options using irb > arguments, do I miss something? > > Thanks. Please tell me what the shebang in irb1.8 is, by running head /usr/bin/irb1.8 (On my system, it says #!/usr/bin/ruby1.8, so this whole situation you're in should be impossible.) By the way, the better solution would have been to install Ruby 1.9.1 from experimental, rather than from the upstream sources. I'm not sure what they're waiting for to put it in unstable. --Ken -- Chanoch (Ken) Bloom. PhD candidate. Linguistic Cognition Laboratory. Department of Computer Science. Illinois Institute of Technology. http://www.iit.edu/~kbloom1/