Created
August 23, 2011 20:17
-
-
Save szimek/1166382 to your computer and use it in GitHub Desktop.
Replace Rails console with Pry (http://www.dotnetguy.co.uk/post/2011/08/23/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
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