Ruby 1.9.2 Final Build for Ubuntu Lucid Uploaded to Launchpad PPA

This has been long overdue. I just updated my ruby 1.9.2 ppa to the final ruby 1.9.2 release. I borrowed the patches from the upstream maverick release and added a couple more patches to get it work on Ubuntu Lucid. The patching system has now changed from dpatch to quilt. Please download it and enjoy it and let me know if things work fine. I checked my rails applications and they all are working fine with the new release. Here are the instructions to use the Ruby 1.9.2 PPA. Continue reading

Host Custom Gems with Dreamhost – Your Own Gem Server

I have started working on a webapp on Heroku. Heroku requires you to specify where your external gems come from. This is nice as you can specify a RubyForge, RubyGems, GitHub or any repository for that matter. However RubyGems is the de-facto gem host these days. All the gems on RubyGems have owners/co-owners and only they can update/upgrade the gem. Now what happens if you have a lazy gem owner who hasn’t updated the gem for over 2 years? You get an outdated gem. The only option is to update the gem yourself and host it elsewhere. Thats what made me create my custom gem server on Dreamhost. Continue reading

PPA Updates for Ruby 1.9.1 and Ruby 1.9.2 – Handling Ruby Versions using the update-alternatives system

I recently created PPAs for Ruby 1.9.1 and Ruby 1.9.2. The default Ruby 1.9.1 package creates binaries in /usr/bin with names like ruby1.9.1, irb1.9.1 etc. However a lot of scripts depend on /usr/bin/ruby and /usr/bin/irb which are provided by Ruby1.8. Hence when I created the PPA for ruby1.9.1, I hardcoded the symlinks – /usr/bin/ruby1.9.2 => /usr/bin/ruby etc. Continue reading

Launchpad PPA for Ruby and Ruby Bindings with the Base Version as 1.9.1

I have started working on a Ruby on Rails project and am using Rails 3.0 as the base version. Rails 3.0 can be installed either with Ruby 1.8.7 or Ruby 1.9.1. I decided to go along with 1.9.1. However I soon found out that a lot of ruby-bindings have not been updated to support Ruby 1.9.1. I did not want a system with both Ruby 1.8.7 and Ruby 1.9.1 versions. Continue reading