1

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?

1

See: https://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.

0

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.

0

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.

  • FYI: REE (and Ruby 1.8) is deprecated as of 2012 – Roland Jun 1 '15 at 13:09

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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