From: Stephen Waits Date: 2006-04-16T15:38:19+09:00 Subject: non-interactive gem install impossible? As you know, "gem install mongrel -y" presents this: Select which gem to install for your platform (i686-linux) 1. mongrel 0.3.12.4 (ruby) 2. mongrel 0.3.12.4 (mswin32) 3. mongrel 0.3.12.3 (mswin32) 4. mongrel 0.3.12.3 (ruby) ... > Is there any way to reliably do this non-interactively? echo "1" | gem install mongrel -y does not work, because the proper choice may be 1 or 2 for (ruby) - it's inconsistent between versions and various gems. Please don't say, "use expect" :) Thanks, Steve