From: James Britt Date: 2008-08-25T10:31:20+09:00 Subject: Re: gem unpack --target usage Erik Hollensbe wrote: > James Britt wrote: >> BTW, why do you use the extra '--' in your example? (Not that it helps >> me either way.) > > The -- indicates that no more arguments are coming; I suspect it's a bug > (feature?) in rubygems's argument parser that it wants it this way. Well, that would explain why, when I run unpack using those dahss it ignore the subsequent --target option. I'm thinking now that if you are unpacking foo.gem then, by default, it will go into foo/ (which is the same as having no --target option, and which is what you get using the '--' as you have). If you run gem unpack foo.gem -- --target bar I think you'd still get a foo/ directory, not bar/ -- 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