Skip to content

mperham/gem_dir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Adds the 'gem dir' command to RubyGems to display the root directory of a given gem.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages