Update

I just started using linkbot and had to adapt some things to make it work for me.
I think the changes are quite general and should be good for anyone.
I'm using ruby 2.0, didn't check if this runs on 1.9+.