[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

installing gems in a batch file

Mario Ruiz

10/17/2008 3:44:00 PM

Hi,

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??

Thanks.
--
Posted via http://www.ruby-....

2 Answers

Victor H. Goff III

10/17/2008 9:19:00 PM

0

[Note: parts of this message were removed to make it a legal post.]

You should use the call command in a batch file to continue on to the next
program.
to give an example test.bat file

call ri 'String'
call ri 'Fixnum'
call type test.bat

Mario Ruiz

10/20/2008 9:56:00 AM

0

Thanks a lot!!!
It's working now.
--
Posted via http://www.ruby-....