Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've a dedicated debian 5.0 server, which runs the "stable" tree.

Now I want to install [testing] ruby 1.8.7 - but my system isnt configured for installing testing packages via apt-get.

How can I do that? I only want ruby to be testing - all other packages should be upgraded with the "stable" tree.

Can you help me?

share|improve this question
up vote 1 down vote accepted


The mechanics are exactly the same despite that having been written for etch using packages from lenny. As a further suggestion, always use the name of the distribution rather than 'stable' as to avoid being bitten by an unplanned upgrade around release time. Feel free to use 'testing' though.

share|improve this answer

Michael Greenly has a nice description of how to do it on Ubuntu. My guess is that it will not need much tweaking to work on Debian.

share|improve this answer

You should definitly check out Ruby Enterprise Edition. It is often faster and needs less memory than the variant of your distribution. It is also very easy to install.

share|improve this answer
FYI: REE (and Ruby 1.8) is deprecated as of 2012 – Roland Jun 1 '15 at 13:09

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.