http://snapshot.debian.net/archive/2008/03/22/debian/pool/main/r/ruby1.8/
download follow package and dpkg -i install all debian package
irb1.8_1.8.6.114-2_all.deb
libopenssl-ruby1.8_1.8.6.114-2_i386.deb
libreadline-ruby1.8_1.8.6.114-2_i386.deb
libruby1.8_1.8.6.114-2_i386.deb
rdoc1.8_1.8.6.114-2_all.deb
ri1.8_1.8.6.114-2_all.deb
ruby1.8_1.8.6.114-2_i386.deb
ruby1.8-dev_1.8.6.114-2_i386.deb
Warning, replace "i386.deb" to your arc like "amd64.deb" or other
finally
look
http://dev.hubiquity.fr/2008/6/3/avoid-rails-troubles-with-ruby-1-8-7-under-debian
you will need to add these few lines into your /etc/apt/preferences to
hole your ruby version:
Package: ruby1.8 irb1.8 rdoc1.8 ri1.8 libruby1.8 libreadline-ruby1.8 libopenssl-ruby1.8 ruby1.8-dev
Pin: version 1.8.6*
Pin-Priority: 1001
--
Posted via http://www.ruby-forum.com/.