CruiseControl.rb: A Continuous integration tool for your rails projects.
We at vinsol recently started using CruiseControl for our rails project. CruiseControl is a continuous integration tool. Which keeps an eye on you code repository and runs all test cases (or the command you specify) whenever new version of code is found, it also sends a mail to all members specified when testcases fails with details. I found this tool very helpful and customizable. If you don’t use CruiseControl , I suggest you to give it a try.
Second Delhi Ruby(delhi.rb) Meetup.
The second delhi.rb meetup was organized at VinSol on Thursday, 19th July, 2007. It was attended by 11 rails enthusiasts.
I gave an introduction to Full Text Search and Solr. And then gave a demo of acts_as_solr plugin. Seems it was well received by all.
Sur, then presented Advanced Ruby, with a lot of live code. Everybody was amazed at what all ruby has to offer for metaprogramming. Infact the talk inspired more people to write plugins. I definitely know of one which is being written and will post about it as soon as it’s released.
Here’s a pic from the meetup, very interesting titled by Sur as Manik with MAC.

It was a great evening. Looking forward to more of these.
update: Sur just blogged about the meetup here
How to make arrow keys working in irb in Linux/Ubuntu
It was ruining all my mood and concentration when i was trying some sample ruby code in irb and again and again i had to retype the things because the arrow keys were not working there. I searched the problem on net and found that i need to have readline library on my linux and in ruby as well. Now the point is readline should be available on the linux before you compile ruby so as you can give the readline option while compiling ruby. BUT we have ruby already installed !! Now What ?
Now, first you will need to install system based readline libraries as
If you are not able to install linux based readline with the above method the refer this for more details.
Now you will need to compile the ruby based readline interface to let you readline library available in irb.
Do it by this…
thats it, all done!!
Try your tips on arrow keys in irb, it should work now.
enjoy!!
How to install RMagick Gem on Linux/Ubuntu
While installing RMagick on Linux, if you are getting errors like this
“GraphicsMagick-config… no configure: error: Can’t install RMagick. Can’t find Magick-config or GraphicsMagick-config program. …”,
below is the solution for this error.
RMagick requires ImageMagick and which further requires loads of dependencies already available to get installed and work properly. I was figuring out of those all, and thank god got a quite simple and elegant way to do all that in just three commands.
First you will have to install imagemagick then libmagick9-dev and then finally you can install rmagick.
Here are the commands…

