How to install Ruby, DevKit, and Cucumber on Windows without Internet connection?

wolf_volpi's Avatar

wolf_volpi

24 Sep, 2011 07:10 AM

Installing Cucumber on Ubuntu with an Internet connection was easy.
Now I need to install Cucumber and Watir on a Windows machine that has no Internet connection.
Here is some information I have pieced together so far:

Cucumber is a Ruby Gem.
Watir is a Ruby Gem.
I will need to install Ruby.
Ruby 1.9.2 comes with Gems.
JSON is a Cucumber runtime dependency.
To successfully install JSON, I need to install RubyInstaller Development Kit (DevKit).
Cucumber needs ANSICON to get console colors on Windows.

So I will need to download, burn to CD, insert CD in Windows machine, and install these softwares:

Ruby 1.9.2
DevKit
ANSICON
Cucumber gem and it's dependencies
Watir gem and it's dependencies

I think I could install all this on Windows if it had an Internet connection.
But what is the procedure for installing all this on Windows without an Internet connection?

Thank you for your guidance.

This article shows Three Ways of Installing Ruby:
http://www.ruby-lang.org/en/downloads/

This article shows how to install Cucumber on Windows (connected to Internet):
http://www.richardlawrence.info/2011/08/20/getting-started-with-rub...

JASON needs RubyInstaller Development Kit:
http://groups.google.com/group/rubyinstaller/browse_thread/thread/e...

ANSICON:
http://adoxa.110mb.com/ansicon/index.html

  1. 1 Posted by wolf_volpi on 24 Sep, 2011 09:53 PM

    wolf_volpi's Avatar

    How to install Ruby on a Windows machine that is disconnected from the Internet?

    Here is what I tried:
    I Downloaded ruby-1.9.2-p290-i386-mingw32.7z from http://www.rubyinstaller.org/downloads/
    Then I extracted the file to a Windows machine that is disconnected from the Internet.
    When I double clicked the ruby-1.9.2-p290-i386-mingw32\bin\ruby.exe file, a cmd window opened .
    When I double clicked the rubyw.exe file nothing happened.
    Does the "w" in rubyw.exe mean its for Windows?
    I didn't see a README file or instructions. Are there install instructions somewhere else?

    Thank you.

  2. 2 Posted by wolf_volpi on 03 Oct, 2011 03:52 AM

    wolf_volpi's Avatar

    Thank you all for the information. It worked.

    The procedure I used is attached for anyone else that needs to install Ruby, Cucumber, and Watir on a Windows machine that is disconnected from the Internet.

  3. Luis Lavena closed this discussion on 03 Oct, 2011 11:33 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac