irbtools-more adds more IRB gems which may not build out-of-the-box. Currently included: bond for better auto-completion and looksee for great method introspection. The did_you_mean gem is included to improve error stacktraces. It also adds the binding_of_caller gem to enable starting IRB by just calling repl anywhere in your code. See the irbtools readme for details.
In your Gemfile put:
gem 'irbtools-more', require: 'debugging/repl'
With bundler (debundle hack)
gem install irbtools-more
To use it, put the following in your ~/.irbrc file (this file is loaded every time you start an irb, just create the file, if it does not exist, yet):
If you want to customize which libraries you want to use, you can load irbtools-more explicitely:
require 'irbtools/configure' Irbtools.add_package :more # adds this extension package Irbtools.start
Copyright © 2010-2015 Jan Lelis, janlelis.com. See MIT-LICENSE for details.