You might like this.
You are currently browsing the monthly archive for October 2006.
Another week passed by - a wonderful one, thanks to my girlfriend who visited me last weekend. It’s really getting colder here, the leaves start to change their colors and it gets dark quite early already (at least for me).
At the moment I’m working on my basic skills in Swedish and on some seminar paper for our business course (I tell you, I’ll never really want to do that kind of work, at least not if it is that boring). Anyway, the course will be finished in one weeks time and we’ll start with our statistics class. And I finally gonna be looking for some cool project I can do with Rails (toyed around a bit with it the last few days, even under Ubuntu, which I installed a week ago on my laptop).
Some things are pretty annoying, for example the fact that TextMate is available for Mac OS X, but not for Windows - well, I can live with that one. But I can’t live with a broken irb under Windows.
So here’s how to fix it: Add your home directory (e.g. C:\Documents and Settings[username]) to your PATH variable. Then create a file named .inputrc in there and fill it with the following (found here):
[code lang="bash"] “\M-[": "[" "\M-]“: “]” “\M-{”: “{” “\M-}”: “}” “\M-\”: “\” “\M-|”: “|” “\M-@”: “@” “\M-~”: “~” [/code]
You might need to restart Windows after that (because of the new values in PATH). But, and that makes the whole thing really cool, you can also add tab completion to irb. Simply create a file .irbrc and add the line require ‘irb/completion’.
You might also want to add a new system variable called HOME with the path to your user directory. Just figured out, sorry.

