Customizing IRB
While developing a Ruby application or while learning ruby, one of the things you must use is IRB (interactive ruby). As in its man page is said "irb is a tool to execute interactively ruby expressions read from stdin.". In this tool you can type and execute directly ruby code. It's very useful but like most other programs like ViM (Vi IMproved) the real power is its customization.
Here I post my .irbrc and to make things clear there are some explanations on each line.
As I said before, IRB is very powerful and a proof is that in Ruby Lang they encourage you to try ruby in your browser with an embedded IRB.
Also in rails the console for debugging your application is an irb instance preloaded with all rails configuration. In RailsCasts there is a screencast that shows you some tricks about it.