Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 557 Bytes

README.markdown

File metadata and controls

30 lines (19 loc) · 557 Bytes

Gem Dir

Prints the root directory of the specified gem.

> gem dir -l rails
/Library/Ruby/Gems/1.8/gems/rails-2.3.4

Command line ninjas like myself can then do this, for example:

cd `gem dir -l memcache-client` && rake test

Installation:

Just install like any normal gem: gem install gem_dir

You might need to install Gemcutter as a gem source: gem install gemcutter gem tumble

For more help: gem dir --help

Thanks

Based on Adam Sanderson's sweet open_gem extension.