Created
August 26, 2011 14:13
-
-
Save hardbap/1173476 to your computer and use it in GitHub Desktop.
Replace The Rails Console With Pry
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
# From Dan Watsons Coding Zen | |
# http://www.dotnetguy.co.uk/post/2011/08/23/replace-the-rails-console-with-pry | |
MyApp::Application.configure do | |
silence_warnings do | |
begin | |
require 'pry' | |
IRB = Pry | |
rescue LoadError | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment