downgrade ruby from 1.8.7 to 1.8.6 under debian

downgrade ruby from 1.8.7 to 1.8.6

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

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

I have found many advices howto downgrade Ruby 1.8.7 to 1.8.6 as recommended by Rails core team. You can found the article

ChandleWEi wrote: