irb i Windows
Okay, here’s what you do to get tab completion working in Windows. Download this. A zip with two files inside. These get copied into your Ruby installation. Place readline.dll in the bin folder. The readline.so goes in lib/ruby/1.8/i386-mswin32 folder.
Then, run in your command shell: irb –readline -r irb/completion.