Created
February 24, 2012 07:50
-
-
Save tillsc/1898836 to your computer and use it in GitHub Desktop.
My ~/.irbrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#libaries | |
require 'rubygems' rescue nil | |
require 'irb/completion' | |
begin | |
# load hirb | |
$: << '/Library/Ruby/Gems/1.8/gems/hirb-0.5.0/lib' | |
require "hirb" | |
# start hirb | |
Hirb.enable | |
rescue LoadError => err | |
warn "Couldn't load Hirb: #{err}" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment