From: Chad Fowler Date: 2005-08-04T07:23:59+09:00 Subject: Re: Deploying Ruby on a Windows Network On 8/3/05, Curt Hibbs wrote: > Brian Takita wrote: > > Bill, thank you for the reply. > > > > > >>I believe the One-Click Installer sets RUBYOPT and PATH for you. > > > > > > Two things about this consideration: > > 1. I need to keep the packages synched. Not all packages are in Gem > > format. I can probably use a SCM or sync tool to keep the files > > synched. This would apply to the Gems too. > > 2. I can probably set the environment variables using wshell via > > Win32ole. > > The One-Click Installer may be easier set set the environment variables > > option if it supports a touchless installation. > > You can do this call starting the installer with these options: > > /S /D= > > >>just write a script to call "gem install --remote blah" for each gem you need. > > > > > > Doesn't Gems prompt to install dependencies? If there is a way to > > default to "Yes", then it would be easier. > > I think there is a way to do this. I cc'd Chad Fowler as he should know > the answer. Thanks, Curt for drawing my attention. You can pass a flag to gem install: -y, --include-dependencies Unconditionally install the required dependent gems -- Chad Fowler http://chadfowler.com http://rubycentral.org http://rubygarden.org http://rubygems.rubyforge.org (over 700,000 gems served!)