# Downgrade ruby from 1.8.7 to 1.8.6 under debian

**URL:** <https://www.ruby-forum.com/t/downgrade-ruby-from-1-8-7-to-1-8-6-under-debian/140653>\
**Category:** Rails\
**Created:** [June 17, 2008, 6:22am UTC](https://www.ruby-forum.com/t/downgrade-ruby-from-1-8-7-to-1-8-6-under-debian/140653 "2008-06-17T06:22:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ChandleWEi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/6f9a4e/32.png) [@ChandleWEi](https://www.ruby-forum.com/u/ChandleWEi)\
**Post date:** [June 17, 2008, 6:22am UTC](https://www.ruby-forum.com/t/downgrade-ruby-from-1-8-7-to-1-8-6-under-debian/140653/1 "2008-06-17T06:22:03Z")

</div>

downgrade ruby from 1.8.7 to 1.8.6

[http://snapshot.debian.net/archive/2008/03/22/debian/pool/main/r/ruby1.8/](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](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

---

<div class="post-metadata">

**Author:** ![ChandleWEi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/6f9a4e/32.png) [@ChandleWEi](https://www.ruby-forum.com/u/ChandleWEi)\
**Post date:** [December 1, 2008, 11:59am UTC](https://www.ruby-forum.com/t/downgrade-ruby-from-1-8-7-to-1-8-6-under-debian/140653/2 "2008-12-01T11:59:40Z")

</div>

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  
[http://railsgeek.com/2008/11/27/ubuntu-8-10-downgrade-ruby-1-8-7-to-1-8-6](http://railsgeek.com/2008/11/27/ubuntu-8-10-downgrade-ruby-1-8-7-to-1-8-6)

ChandleWEi wrote:

> downgrade ruby from 1.8.7 to 1.8.6
> 
> [http://snapshot.debian.net/archive/2008/03/22/debian/pool/main/r/ruby1.8/](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](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

---

<div class="post-metadata">

**Author:** ![ChandleWEi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/6f9a4e/32.png) [@ChandleWEi](https://www.ruby-forum.com/u/ChandleWEi)\
**Post date:** [April 27, 2009, 7:38pm UTC](https://www.ruby-forum.com/t/downgrade-ruby-from-1-8-7-to-1-8-6-under-debian/140653/3 "2009-04-27T19:38:31Z")

</div>

ChangleWEi, Thank you for taking time to post this. Solved all kinds of  
problems for me.
