Deploying Ruby on a Windows Network

B

Brian Takita

Hello,

I would like to deploy the One-click version (== ruby-mswin32 I
presume) of Ruby to several workstations.
The versions and installed packaged on the workstations should be
synched.

Is this a matter of synching the files, setting the path to Ruby, and
setting RUBYOPT to rubygems?
Anything else that I'm missing?
Of course, it will be necessary to deploy any toolkits that will be
used by Ruby.

Is there a project that already does this? I couldn't find any.

Thank you,
Brian Takita
 
B

Bill Atkins

------=_Part_1090_18722612.1123095497184
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

I believe the One-Click Installer sets RUBYOPT and PATH for you. If you nee=
d=20
to install gems, just write a script to call "gem install --remote blah" fo=
r=20
each gem you need.

Bill

=20
Hello,
=20
I would like to deploy the One-click version (=3D=3D ruby-mswin32 I
presume) of Ruby to several workstations.
The versions and installed packaged on the workstations should be
synched.
=20
Is this a matter of synching the files, setting the path to Ruby, and
setting RUBYOPT to rubygems?
Anything else that I'm missing?
Of course, it will be necessary to deploy any toolkits that will be
used by Ruby.
=20
Is there a project that already does this? I couldn't find any.
=20
Thank you,
Brian Takita
=20
=20
=20


--=20
Bill Atkins

------=_Part_1090_18722612.1123095497184--
 
B

Brian Takita

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.
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.
 
C

Curt Hibbs

Also, some registry keys are set to associate *.rb and *.rbw with the
installed ruby, plus the start menu shortcuts. None of that is critical
if you don't care.

Curt
 
C

Curt Hibbs

Brian said:
Bill, thank you for the reply.




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= said:
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.

Curt
 
C

Chad Fowler

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,772
Messages
2,569,593
Members
45,111
Latest member
KetoBurn
Top