My server is running Ubuntu Hardy and Ruby 1.8.6 installed using aptitude.
I'd like to upgrade to Ruby 1.8.7 but, unfortunately, the Ruby package includes Ruby 1.8.7 starting from Ubuntu Intrepid.
I read a couple of tutorials about how to upgrade to Ruby 1.8.7 and I found at least 3 different way to accomplish this task:
- backports
- installation from source
- installation from source and multiple versions
I'm a bit confused. How do you recommend to upgrade to Ruby 1.8.7 taking into consideration I don't need multiple Ruby versions on the same server? I'd like to cleanly replace the existing Ruby 1.8.6 with Ruby 1.8.7.
Answer
As Jeff made me notice that Ruby 1.8.7 has not been backported yet, the other only solution that comes to my mind is to use the PPA of the team packaging Ruby.
There you can find both Ruby version 1.8.7.22 and version 1.9.0.2, should you prefer.
If you don't know how to configure ubuntu to use a PPA, the instructions are also on the linked page (click on Not using Ubuntu 9.10 (karmic)? under the "Adding this PPA to your system" section.
Hope this helps! :)
No comments:
Post a Comment