From: Hugh Sasse Date: 2005-12-07T19:44:27+09:00 Subject: Re: Gems Install All Dependencies Option On Wed, 7 Dec 2005, Gregory Brown wrote: > On 12/6/05, Guillaume Marcais wrote: > > There is also the UNIX way: > > > > yes | gem install GEMNAME > > wow... I didn't know that existed. Cool! It doesn't exist on all unix flavours. If you haven't got it then: #!/bin/sh message=$* while true do echo ${message:=yes} done Or, more on topic for this list :-) #!/usr/local/bin/ruby -w if ARGV.length == 0 message = ["yes"] else message = ARGV end while true print "#{message.join(' ')}\n" # sleep 1 end Hugh