Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

How to install rb trepanning

R. Bernstein edited this page · 3 revisions

How to install rb-trepanning

Check out the Patches to Ruby 2.x and 1.9 to support beautiful debugging project to see if there is already a package made for your OS.

Many people use rvm to allow multiple versions of Ruby and gems to coexist.

If you have rvm installed and want to try several steps in one shot, then run:

$ bash <<( curl http://ruby-19-debugger.googlecode.com/git/patches/scripts/rvm-install-tf)
$ rvm use ruby-1.9.3-p374-ndebugger
$ gem install trepanning

If you want ansi-terminal colorized source code output, also install gems term-ansicolor and coderay.

Try it!

$ trepan irb
-- (/usr/local/bin/irb:9)
require “irb” (trepan): # try: “help” or “quit” or EOF to leave

Wasn’t that easy?

Something went wrong with that request. Please try again.