Skip to content

Instantly share code, notes, and snippets.

@johnknott
Created June 30, 2011 20:09
Show Gist options
  • Save johnknott/1057103 to your computer and use it in GitHub Desktop.
Save johnknott/1057103 to your computer and use it in GitHub Desktop.
Replacing "irb" with "pry" when using "padrino console"
# Add this to your boot.rb before Padrino.load!
# and add: gem 'pry'
# to your Gemfile and run bundle to install.
begin
require 'pry'
$VERBOSE = nil
IRB = Pry
$VERBOSE = false
rescue LoadError
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment