irb history and tab completion

A couple of weeks ago Ben asked me some kind of question about something or other I was working on at the time and I dropped into irb to illustrate whatever it was, everything was going fine until I hit up and he stopped me.
“Sean. You have history?? How do you have a history in irb??”

I am a compulsive customizer. Of course I have history in my irb.

Sure, there are all kinds of enhancements for irb, but having come from the linux world into this one-button wasteland of mac development there are just two things I always finding myself doing: hitting up and hitting tab.

The fruits of my search revolve around the wirble gem, which you're going to need to install like so:

([seandick:]::{:~/coding::::::===============================-
Fri Jul 25> sudo gem install wirble

Why exactly irb doesn’t ship with history or tab completion is a mystery to me, all you need to do to get them is to put the following in your ~/.irbrc :
  1. require 'rubygems'  
  2. require 'wirble'  
  3. Wirble.init  
  4. Wirble.colorize  

Now if only I could figure out how to get middle-click paste back.
Note: this will also enable colorizing

References

Wirble

JavaScript TextMate Bundle Install Instructions

I really like TextMate! Since the TextMate guy has deemed that the JavaScript bundle is just too big to include in the normal installation, you'll have to do it yourself. Finding out how isn't the easiest, so here it is.

mkdir -p /Library/Application\ Support/TextMate/Bundles
cd /Library/Application\ Support/TextMate/Bundles
svn co http://bundles.bundleforge.com/trunk/bundles/JavaScript%20Tools.tmbundle
osascript -e 'tell app "TextMate" to reload bundles'


References

Tobi
JavaScript Bundle
TextMate
Getting More Bundels

Top 100 Rails Alexa Rankings

Tobi is now #60!

Alexa Ruby on Rails Rankings

I did have to modify the script slightly to make updating the Rails100 Wiki easy and only keep the top 100 known sites.

Modifying and running the script was actually pretty cool since we were afforded the opportunity to use some of Amazon's Web Services.

References

http://rails100.pbwiki.com/Alexa+Rankings

http://aws.amazon.com
http://www.tobi.com