I'm trying to unpack a gem into a particular directory, but cannot get 
the --target option to work.

$ gem --version
1.2.0



  gem help unpack
Usage: gem unpack GEMNAME [options]

   Options:
         --target                     target directory for unpacking



$  gem unpack RedCloth --target /tmp
ERROR:  While executing gem ... (Gem::CommandLineError)
     Too many gem names (RedCloth, /tmp); please specify only one

$  gem unpack RedCloth --target=/tmp
ERROR:  While executing gem ... (OptionParser::NeedlessArgument)
     needless argument: --target=/tmp


How is this supposed to work?

$ gem unpack RedCloth

works fine; trying to give a target not so fine.



Thanks,


-- 
James Britt

www.happycamperstudios.com   - Wicked Cool Coding
www.jamesbritt.com           - Playing with Better Toys
www.ruby-doc.org             - Ruby Help & Documentation
www.rubystuff.com            - The Ruby Store for Ruby Stuff