Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

3 Answers

up vote 1 down vote accepted

See: http://stackoverflow.com/questions/512906/debian-how-can-i-pull-a-single-package-with-dependencies-from-another-repository/513078#513078

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
add comment

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
add comment

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
add comment

Your Answer

 
discard

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.