From: Rick DeNatale Date: 2009-04-05T22:53:39+09:00 Subject: Re: How to get "irb1.8" using Ruby1.8 instead of Ruby1.9.1 ? --0016e6434612558b1d0466cf1eb7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Sun, Apr 5, 2009 at 8:29 AM, I=F1aki Baz Castillo wrote: > El Domingo 05 Abril 2009, Ken Bloom escribi=F3: > > 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 o= f > the > installed irb (Ruby 1.9.1). The Debian packaging system relies on users not installing stuff in the sam= e places that the packager does. /usr/bin is one of those places. When you are installing source on a Debian based system (which would includ= e Ubuntu) you need to put it somewhere else., like /usr/local/bin, so instead of just ./configure make sudo make install you need to do something like ./configure --prefix=3D/usr/local/ruby1.9 make sudo make install I think you need to somehow force the system to reinstall the ruby 1.8 package(s), then install 1.9 from source to a safe place. --0016e6434612558b1d0466cf1eb7--