From: Eric Hodel Date: 2009-08-18T03:58:13+09:00 Subject: Re: [ANN] release: a "which" command written in ruby--very useful for windows users at least On Aug 17, 2009, at 10:10, Roger Pack wrote: > Also Related: http://github.com/Pistos/ruby-which -- this library > discovers the location of installed ruby libraries, i.e. which gem > folder they're in > "C:\>rwhich ruby-which > c:/ruby/lib/ruby/gems/1.9.1/gems/Pistos-ruby-which-0.5.3/lib/ruby- > which.rb" $ gem which fileutils /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ 1.8/fileutils.rb $ gem which nokogiri (checking gem nokogiri-1.3.2 for nokogiri) /Library/Ruby/Gems/1.8/gems/nokogiri-1.3.2/lib/nokogiri.rb # incidentally, it's TTY smart: $ gem which nokogiri | cat /Library/Ruby/Gems/1.8/gems/nokogiri-1.3.2/lib/nokogiri.rb