Skip to content

Instantly share code, notes, and snippets.

@stuartsaunders
Last active May 16, 2024 20:34
Show Gist options
  • Save stuartsaunders/756815 to your computer and use it in GitHub Desktop.
Save stuartsaunders/756815 to your computer and use it in GitHub Desktop.
IRB.conf[:PROMPT_MODE] = :SIMPLE
IRB.conf[:AUTO_INDENT_MODE] = true
begin
require 'rubygems'
rescue LoadError => err
warn "Couldn't load Rubygems: #{err}"
end
begin
require 'awesome_print'
AwesomePrint.irb!
rescue LoadError => err
warn "Couldn't load Awesome Print: #{err}"
end
begin
require 'hirber'
Hirb.enable
rescue LoadError => err
warn "Couldn't load Hirber: #{err}"
end
alias q exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment