Created
June 30, 2011 20:09
-
-
Save johnknott/1057103 to your computer and use it in GitHub Desktop.
Replacing "irb" with "pry" when using "padrino console"
This file contains hidden or 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
# 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