Saturday, February 02, 2008

gem unpack usage and example

E:\workspace\>gem help unpack
Usage: gem unpack GEMNAME [options]

Options:
--target target directory for unpacking
-v, --version VERSION Specify version of gem to unpack

Common Options:
-h, --help Get help on this command
-V, --[no-]verbose Set the verbose level of output
-q, --quiet Silence commands
--config-file FILE Use this config file instead of default
--backtrace Show stack backtrace on errors
--debug Turn on Ruby debugging


Arguments:
GEMNAME name of gem to unpack

Summary:
Unpack an installed gem to the current directory

Defaults:
--version '>= 0'

Example:
$> gem install mofo
$> cd rails_app/vendor/plugins
$> gem unpack mofo

No comments :