Skip to content

Instantly share code, notes, and snippets.

@tillsc
Created February 24, 2012 07:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tillsc/1898836 to your computer and use it in GitHub Desktop.
Save tillsc/1898836 to your computer and use it in GitHub Desktop.
My ~/.irbrc
#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