From: "F. Senault" Date: 2008-08-25T19:55:44+09:00 Subject: Re: gem unpack --target usage Le 24 ao�t 2008 � 21:17, James Britt a �crit : > I'm trying to unpack a gem into a particular directory, but cannot get > the --target option to work. Looks like a bug. Try this : # diff -u rubygems/commands/unpack_command.rb.orig rubygems/commands/unpack_command.rb --- rubygems/commands/unpack_command.rb.orig Mon Aug 25 12:53:50 2008 +++ rubygems/commands/unpack_command.rb Mon Aug 25 12:53:20 2008 @@ -12,7 +12,7 @@ :version => Gem::Requirement.default, :target => Dir.pwd - add_option('--target', 'target directory for unpacking') do |value, options| + add_option('--target=DIR', 'target directory for unpacking') do |value, options| options[:target] = value end And... > gem unpack BlueCloth --target=./tmp Unpacked gem: '/home/fred/tmp/BlueCloth-1.0.0' Fred -- You better make your face up In your favorite disguise With your button-down lips And your roller blind eyes With your empty smile And your hungry heart (Pink Floyd, Run Like Hell)