In Debian, the Ruby distribution is split up into many small, separate packages. You might have to tediously install package after package while you find out what is (still) missing when you are developing.
The following command will install all packages and libraries with “ruby1.8” in the package name, which should lead to a more or less complete installation of ruby on your machine:
apt-get install `apt-cache search -n ruby1.8 | cut -d ' ' -f 1` irb1.8 rdoc1.8 ri1.8
See also RailsOnDebian for more information.
category:Howto