public
Description: Like the UNIX "which" tool, but for Ruby libraries.
Homepage: http://github.com/Pistos/ruby-which
Clone URL: git://github.com/Pistos/ruby-which.git
name age message
file .gitignore Wed Feb 25 07:21:20 -0800 2009 Added .gitignore for *.gem. [Pistos]
file LICENCE Wed Feb 25 07:12:08 -0800 2009 Added LICENCE and gemspec. [Pistos]
file README Wed Feb 25 08:54:09 -0800 2009 Fixed gem install example. [Pistos]
directory bin/ Wed Feb 25 08:01:19 -0800 2009 Actually require the lib first, so that rubygem... [Pistos]
directory lib/ Mon Mar 02 10:48:43 -0800 2009 Don't alias require to which any more. Too mes... [Pistos]
file ruby-which.gemspec Mon Mar 02 10:48:43 -0800 2009 Don't alias require to which any more. Too mes... [Pistos]
README
= ruby-which

by Pistos
http://github.com/Pistos/ruby-which

For those times when you don't know which version of a library you're
require-ing, or what path on your system it's coming from.  Returns the full
library path if the given library is found in the $LOAD_PATH.

"you need organization..." -- manveru

== Installation

    gem install --source http://gems.github.com Pistos-ruby-which

== Example usage:

    require 'rubygems'
    require 'ruby-which'
    puts Which.which( 'm4dbi' )   #=> /usr/lib/ruby/gems/1.8/gems/m4dbi-0.6.2/lib/m4dbi.rb

Or from your shell:

    rwhich m4dbi
    # Outputs: /usr/lib/ruby/gems/1.8/gems/m4dbi-0.6.2/lib/m4dbi.rb