Skip to content

Instantly share code, notes, and snippets.

@rondy
Created March 27, 2013 19:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rondy/5257361 to your computer and use it in GitHub Desktop.
Save rondy/5257361 to your computer and use it in GitHub Desktop.
  1. Add debugger to Gemfile

  2. Run bundle

  3. Require debugger on config/application.rb

  4. Run git stash save 'debugger'

  5. Add the following aliases to .gitconfig:

     debugger = stash apply stash^{/debugger}
     dropdebugger = checkout Gemfile Gemfile.lock config/application.rb
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment