MacRuby tweaks to your customized .irbrc

I started playing with MacRuby this evening. macirb wouldn’t run with my customized .irbrc and gave the following error:


If you’re seeing this, you need to do something like this:

What I changed was to add lines 2 and 5 from that excerpt, making lines 3 and 4 only run if I’m *not* using macirb. If you’re getting the same error from macirb, this (or something similar) should fix it.

Leave a Reply

Your email address will not be published. Required fields are marked *