Forum: Ruby installing gems in a batch file

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Mario R. (Guest)
on 2008-10-17 19:44

I'm trying to write a batch file to install all the external libraries
of ruby in the computers of my company but after the first command gem
install.... the batch ends...

echo *********** FireWatir
gem install FireWatir\firewatir-1.1.gem
echo *********** Watir
gem install Watir\watir-1.5.3.gem

Do you know why??

Victor G. (Guest)
on 2008-10-18 01:20
(Received via mailing list)
You should use the call command in a batch file to continue on to the
to give an example test.bat file

call ri 'String'
call ri 'Fixnum'
call type test.bat
Mario R. (Guest)
on 2008-10-20 13:57
Thanks a lot!!!
It's working now.
This topic is locked and can not be replied to.