- comment or delete the lines currently in /etc/apt/sources.list
- add the follow lines to /etc/apt/sources.list
deb http://ftp.debian.org/debian/ etch maindeb-src http://ftp.debian.org/debian/ etch maindeb http://security.debian.org/ etch/updates main contribdeb-src http://security.debian.org/ etch/updates main contribdeb http://ftp.debian.org/debian/ testing maindeb-src http://ftp.debian.org/debian/ testing maindeb http://security.debian.org/ testing/updates main contribdeb-src http://security.debian.org/ testing/updates main contrib - Run the follow command:
apt-get update - /etc/apt/apt.conf should contain:
APT::Default-Release "stable";
APT::Cache-Limit "16777216"; - run:
apt-get -t testing install ruby1.8
apt-get -t testing install ruby1.8-dev
apt-get -t testing install ri1.8
apt-get -t testing install rubygems
ln -s /usr/bin/ruby1.8 /usr/bin/ruby
ln -s /usr/bin/ri1.8 /usr/bin/ri - install all the gems you want and use them!
All DONE!
1 comment:
I had to install the package libopenssl-ruby1.8 through aptitude (apt-get) as well.
Post a Comment