Skip to content

Instantly share code, notes, and snippets.

@piyushchauhan2011
Forked from johnknott/boot.rb
Created May 8, 2016 06:29
Show Gist options
  • Save piyushchauhan2011/cd21f40199b52cea65bd1e4a4635a42c to your computer and use it in GitHub Desktop.
Save piyushchauhan2011/cd21f40199b52cea65bd1e4a4635a42c 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