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.
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.
-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.
···
On Tue, Jul 8, 2008 at 14:41, G. Ralph Kuntz, MD, MS <grk@usa.net> 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.
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.
···
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.