Metriks, an experiment in creating a ruby metrics library with a simple interface and the ability to send the metrics to a number of services. Use it to track error rates, database insertion times, cache hits vs misses, messages-per-second processed by workers.
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
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
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
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
irb1.9.1 etc. However a lot of scripts depend on
/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/ruby etc.Continue reading
A few days ago I created a PPA for Ruby 1.9.1 and its bindings. However after working with Rails 3.0.0.beta4 for a bit, I experienced random segmentation faults. Apparently Ruby 1.9.2 (preview3) is more stable for Rails 3 than other versions of Ruby. So I decided to make a PPA for Ruby 1.9.2 and some Ruby Bindings.Continue reading
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
I am installing the Beta Version of Rails using the tutorial below:
However I came across an error thats not listed in the above tutorial!