# Q: Remote installer

**URL:** <https://www.ruby-forum.com/t/q-remote-installer/142491>\
**Category:** Ruby\
**Created:** [July 8, 2008, 2:46pm UTC](https://www.ruby-forum.com/t/q-remote-installer/142491 "2008-07-08T14:46:12Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![GSRalph\_KuntzS\_MD](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/c89c15/32.png) [@GSRalph\_KuntzS\_MD](https://www.ruby-forum.com/u/GSRalph_KuntzS_MD)\
**Post date:** [July 8, 2008, 2:46pm UTC](https://www.ruby-forum.com/t/q-remote-installer/142491/1 "2008-07-08T14:46:12Z")

</div>

I am looking for a “remote installer” for ruby for Windows. I need to  
install ruby on about 150 machines over ssh connections and do not  
want to use a GUI installer like the one-click installer, because it  
will take me days to finish and will add an extra human step for each  
new machine I deploy.

I tried using the binary zip files, both for 1.8.6 (ruby-1.8.6-i386-  
mswin32.zip) and 1.8.7, but I get errors about zlib.dll when I try to  
install rubygems.

I cannot use the cygwin version for various reasons.

I am new to ruby, so please bear with my ignorance.

Thanks, Ralph

---

<div class="post-metadata">

**Author:** ![GSRalph\_KuntzS\_MD](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/c89c15/32.png) [@GSRalph\_KuntzS\_MD](https://www.ruby-forum.com/u/GSRalph_KuntzS_MD)\
**Post date:** [July 8, 2008, 2:56pm UTC](https://www.ruby-forum.com/t/q-remote-installer/142491/2 "2008-07-08T14:56:41Z")

</div>

G. Ralph Kuntz, MD, MS wrote:

> I am looking for a “remote installer” for ruby for Windows. I need to  
> install ruby on about 150 machines over ssh connections and do not  
> want to use a GUI installer like the one-click installer, because it  
> will take me days to finish and will add an extra human step for each  
> new machine I deploy.
> 
> I tried using the binary zip files, both for 1.8.6 (ruby-1.8.6-i386-  
> mswin32.zip) and 1.8.7, but I get errors about zlib.dll when I try to  
> install rubygems.
> 
> I cannot use the cygwin version for various reasons.
> 
> I am new to ruby, so please bear with my ignorance.
> 
> Thanks, Ralph

From the FAQ:  
[http://rubyinstaller.rubyforge.org/wiki/wiki.pl?RubyInstallerFAQ](http://rubyinstaller.rubyforge.org/wiki/wiki.pl?RubyInstallerFAQ)  
Can I do an unattended install (no prompts)?  
Yes, use the options: “/S /D=”  
hth,

Siep

---

<div class="post-metadata">

**Author:** ![GSRalph\_KuntzS\_MD](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/c89c15/32.png) [@GSRalph\_KuntzS\_MD](https://www.ruby-forum.com/u/GSRalph_KuntzS_MD)\
**Post date:** [July 8, 2008, 3:24pm UTC](https://www.ruby-forum.com/t/q-remote-installer/142491/3 "2008-07-08T15:24:20Z")

</div>

-----BEGIN PGP SIGNED MESSAGE-----  
Hash: SHA1

I must be doing something stupid. I tried the command line options:

ruby186-26.exe /S /D=d:\ruby

but the GUI interface still pops up.

- -----Original Message-----  
From: removed\_email\_address@domain.invalid [[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)]  
Sent: Tuesday, July 08, 2008 8:53 AM  
To: ruby-talk ML  
Subject: Re: Q: Remote installer

G. Ralph Kuntz, MD, MS wrote:  
…

- From the FAQ:  
[http://rubyinstaller.rubyforge.org/wiki/wiki.pl?RubyInstallerFAQ](http://rubyinstaller.rubyforge.org/wiki/wiki.pl?RubyInstallerFAQ)  
Can I do an unattended install (no prompts)?  
Yes, use the options: “/S /D=”  
hth,

Siep

* * *

Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).

-----BEGIN PGP SIGNATURE-----  
Version: PGP Desktop 9.8.3 (Build 4028)  
Charset: UTF-8

wj8DBQFIc2mjLvLoisOZKCARAvkhAKD/SyHYSAfKIdLm+pl5G1kgaUvBkQCgqidr  
oGH/uUWOfmKEL/MzFzz3Ajw=  
=p4Yf  
-----END PGP SIGNATURE-----

---

<div class="post-metadata">

**Author:** ![GSRalph\_KuntzS\_MD](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/c89c15/32.png) [@GSRalph\_KuntzS\_MD](https://www.ruby-forum.com/u/GSRalph_KuntzS_MD)\
**Post date:** [July 8, 2008, 3:24pm UTC](https://www.ruby-forum.com/t/q-remote-installer/142491/4 "2008-07-08T15:24:56Z")

</div>

-----BEGIN PGP SIGNED MESSAGE-----  
Hash: SHA1

Never mind. I should read more carefully. I did not realize t hat the  
options were case-sensitive.

Thanks for the quick replies to my query.

-----BEGIN PGP SIGNATURE-----  
Version: PGP Desktop 9.8.3 (Build 4028)  
Charset: UTF-8

wj8DBQFIc2ovLvLoisOZKCARAsmMAJ91tvDnOQoewbn4kKVIUN7oOAQIcQCgkPot  
NLNWGz6scWC1L9f1irgdI48=  
=xj8N  
-----END PGP SIGNATURE-----

---

<div class="post-metadata">

**Author:** ![GSRalph\_KuntzS\_MD](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/c89c15/32.png) [@GSRalph\_KuntzS\_MD](https://www.ruby-forum.com/u/GSRalph_KuntzS_MD)\
**Post date:** [July 8, 2008, 3:47pm UTC](https://www.ruby-forum.com/t/q-remote-installer/142491/5 "2008-07-08T15:47:50Z")

</div>

On Jul 8, 2008, at 8:41 AM, G. Ralph Kuntz, MD, MS wrote:

> I am looking for a “remote installer” for ruby for Windows. I need to  
> install ruby on about 150 machines over ssh connections and do not  
> want to use a GUI installer like the one-click installer, because it  
> will take me days to finish and will add an extra human step for each  
> new machine I deploy.
> 
> I tried using the binary zip files, both for 1.8.6 (ruby-1.8.6-i386-  
> mswin32.zip) and 1.8.7, but I get errors about zlib.dll when I try to  
> install rubygems.

Those errors are because you don’t have all the files you need for  
zlib. I’m not sure what’s required for windows, but on \*nix boxes,  
you need the header files for zlib (by building from source). Try  
install zlib from source first, and then do ruby (to make sure that  
ext/zlib gets compiled) and THEN do rubygems.

~ Ari  
English is like a pseudo-random number generator - there are a  
bajillion rules to it, but nobody cares.

---

<div class="post-metadata">

**Author:** ![GSRalph\_KuntzS\_MD](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/c89c15/32.png) [@GSRalph\_KuntzS\_MD](https://www.ruby-forum.com/u/GSRalph_KuntzS_MD)\
**Post date:** [July 8, 2008, 3:37pm UTC](https://www.ruby-forum.com/t/q-remote-installer/142491/6 "2008-07-08T15:37:18Z")

</div>

On Tue, Jul 8, 2008 at 14:41, G. Ralph Kuntz, MD, MS [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> I cannot use the cygwin version for various reasons.
> 
> I am new to ruby, so please bear with my ignorance.
> 
> Thanks, Ralph

I guess that if you:

-copy c:/ruby contents from One-click installation  
-run  
assoc .rb=RBFile  
ftype RBFile=“c:\ruby\bin\ruby.exe” %1 %\*  
-the same for .rbw  
-add c:\ruby\bin to PATH  
-create env. variable RUBYOPT=-rubygems

you are pretty much set (maybe you need to register some dlls/paths  
for tcl/tk and similar)

Anyway, the silent options seems safer.

J.
