From: "Iñaki Baz Castillo" Date: 2009-04-05T21:29:36+09:00 Subject: Re: How to get "irb1.8" using Ruby1.8 instead of Ruby1.9.1 ? El Domingo 05 Abril 2009, Ken Bloom escribió: > 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.) Thanks. As I've explained in this thread, I had Ruby1.8 installed as DEB package (so irb was a link to irb1.8). When compiling and installing Ruby1.9.1 from sources, it created /usr/bin/ruby and /usr/bin/irb. But it's strange since /usr/bin/irb was a softlink and after Ruby 1.9.1 install it remains being a softlink to irb1.8, but irb1.8 is now a copy of the installed irb (Ruby 1.9.1). > 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. I'm using it in Debian Etch and Ubuntu Jaunty. Ruby1.9.1 doesn't no exist in those distributions. Installing Ruby 1.9.1 from experimental in my Debian Etch would require upgrading my system to sid/experimental and I cannot do it. Thanks a lot for your help. -- Iñaki Baz Castillo