[Mongrel] Gem install from script

Wayne E. Seguin wayneeseguin at gmail.com
Wed Feb 14 20:27:16 EST 2007


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 at rubyforge.org
> http://rubyforge.org/mailman/listinfo/mongrel-users



More information about the Mongrel-users mailing list