Thanks, Wayne, but you're right, that seems a little brittle. Is there any other way to do this? I guess one question is that if it knows that I'm on an "i486-linux" platform, why is it giving me the "mswin32" option in the first place?
graham Date: Wed, 14 Feb 2007 20:27:16 -0500 From: "Wayne E. Seguin" <[EMAIL PROTECTED]> Subject: Re: [Mongrel] Gem install from script To: mongrel-users@rubyforge.org Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed One possible method is: echo 1 | gem install mongrel The downside to this is if it's not always the first one (eg if ruby/ win32 can get switched at each next release) ~Wayne On Feb 14, 2007, at 19:16 , Graham Miller wrote:
Hello all, Apologies if this is not the right place for this question, but I thought I'd start here. We're trying to install the latest Mongrel from inside a script. Using 'gem install -v 1.0.1 mongrel' causes a prompt to come up asking whether to install the "ruby" or "mswin32" variant. Select which gem to install for your platform (i486-linux) 1. mongrel 1.0.1 (ruby) 2. mongrel 1.0.1 (mswin32) 3. Cancel installation > If I don't want to have to write an expect script or something like that, is there any way to specify on the command line that I want the "ruby" variant so that I don't get this prompt? Thanks in advance for any help. graham -- Marketcetera Trading Platform download.run.trade. www.marketcetera.org _______________________________________________ Mongrel-users mailing list Mongrel-users@rubyforge.org http://rubyforge.org/mailman/listinfo/mongrel-users
_______________________________________________ Mongrel-users mailing list Mongrel-users@rubyforge.org http://rubyforge.org/mailman/listinfo/mongrel-users