Created
July 19, 2012 18:54
-
-
Save ashirazi/3145976 to your computer and use it in GitHub Desktop.
pry instead of irb (everywhere including 'bundle console', 'rails console', 'irb')
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
# put this in your ~/.irbrc | |
begin | |
require 'pry' | |
Pry.start | |
exit | |
rescue LoadError | |
puts "Pry not found, using 'irb' instead. Try\n gem install pry" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment