How to Install Ruby (and RubyGems) on Windows

Forward needs Ruby and RubyGems to work. They're free and pretty easy to install. Here's how:

1. Download & Install Ruby

First, download RubyInstaller from http://rubyinstaller.org/downloads/. Forward does not currently support 64bit versions of Ruby on Windows, so we recommend you install Ruby 1.9.3 or the 32bit version of Ruby 2.0.

Once it’s downloaded, double click the file to start the installer. Select your language and agree to the terms, then on the install settings screen, check the boxes next to both “Add Ruby executables to your PATH” and “Associate .rb and .rbw files with this Ruby installation”. (You can also install Tcl/Tk support if you’d like, but you don’t need to.)

Rubyinstaller settings

Click “Install”.

2. Install DevKit

Download DevKit from the RubyInstaller page at http://rubyinstaller.org/downloads/

When the download is finished, double click the file and you will be asked where to extract the files. Click the “…” button, and select “C:\DevKit” (you’ll probably need to create this folder first by clicking “Make New Folder”).

Extract to choose

Click “OK”, and then “Extract” to extract the files.

Now open the Command Prompt and enter the following commands:

chdir C:\DevKit
ruby dk.rb init
ruby dk.rb install

Note: You don’t need to type the > symbol.

You now have a fully functional Ruby and RubyGems!

3. Install Forward

Forward lets you link to localhost.

If you have a local Rails dev server running, you can use Forward to quickly get a shareable URL for your dev server. You can give this URL to anyone you want, and they’ll be able to view your local site right in the browser without having to install anything or be on the same network or anything.

Forward installation instructions

Learn more about Forward