Skip to content

Instantly share code, notes, and snippets.

@johnknott
Created June 30, 2011 20:09
Show Gist options
  • Select an option

  • Save johnknott/1057103 to your computer and use it in GitHub Desktop.

Select an option

Save johnknott/1057103 to your computer and use it in GitHub Desktop.

Revisions

  1. johnknott revised this gist Jul 15, 2011. 1 changed file with 2 additions and 4 deletions.
    6 changes: 2 additions & 4 deletions boot.rb
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,5 @@
    # Add this to your boot.rb before Padrino.load! and add
    #
    # gem 'pry'
    #
    # Add this to your boot.rb before Padrino.load!
    # and add: gem 'pry'
    # to your Gemfile and run bundle to install.

    begin
  2. johnknott created this gist Jun 30, 2011.
    13 changes: 13 additions & 0 deletions boot.rb
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    # 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