Sha256: fae468cfec045dad58f1f3452c322d5dad53f300643ad6d61d5031f344781a81

Contents?: true

Size: 1.63 KB

Versions: 1

Compression:

Stored size: 1.63 KB

Contents

= irbtools-more

irbtools[http://github.com/janlelis/irbtools] is a meta gem which installs some useful irb gems and configures your irb.

<tt>irbtools-more</tt> adds some more irb gems which may not build out-of-the-box. Currently included: better auto completion and an object inspector.

== Setup

  gem install irbtools-more
  gem install irb_rocket --source http://merbi.st
  
* On Linux, you also need the +xclip+ program (apt-get install xclip).
* On MacOS, you need growl, if you want to use the +g+ gem.
* You need +tk+ for DrX (maybe try <tt>tk_as_gem</tt>)

== Usage

To use it, put the following in your <tt>~/.irbrc</tt> file (this file is loaded everytime you start an irb):

  require 'rubygems' # only needed in 1.8
  require 'irbtools/more'

If it does not exist, just create a new one.

It's possible to modify, which libraries get loaded:

  require 'irbtools/configure'
  Irbtools.add_package :more # adds this extension package
  # here you can edit which libraries get loaded. See the irbtools README for details.
  Irbtools.start

You could also just use the base +irbtools+ and add the additional gems yourself.

== Features

=== Included gems and libraries

 For the libraries included in +irbtools+, see its README page or http://rbjl.net/40-irbtools-release-the-power-of-irb
* DrX[http://drx.rubyforge.org/] A tk object inspector, defines <tt>Object#see</tt>
* bond[http://tagaholic.me/bond/] Better auto completion

== Extension packages

Feel free to build your own extension package gem (see this gem's source) and upload it to rubygems.org.

== Copyright

Copyright (c) 2010 Jan Lelis, http://rbjl.net. See LICENSE for details.

J-_-L

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
irbtools-more-0.3.1 README.rdoc