Check IRB is defined before using it, fixes #64
Merge pull request #65 from iqbalansari/master

Check IRB is defined before using it, fixes #64