December 13, 2014

Rails – Installing Rails on a Windows Machine

Rails (aka ruby on rails), is a collection of ruby related products.


You can find all my latest posts on medium.

On windows, it is possible to install Ruby, and install rails separately, however it is much more trouble-free if you install them together using the railsinstaller.

First install:

You might also need to add the following variables to the path variable:


Note, the ruby version numbwers could be slightly different, so first locate your bin directory and ensures that it exists before adding it tot the path variable.

This bin, directory above has a number of essential ruby/rails command line utilities.

Now open up a powershell terminal and check what version of the tools we have installed:

PS C:\Temp\rails> ruby -v
ruby 2.1.5p273 (2014-11-13 revision 48405) [i386-mingw32]
PS C:\Temp\rails> rails -v
DL is deprecated, please use Fiddle
Rails 4.1.8
PS C:\Temp\rails> bundler -v
DL is deprecated, please use Fiddle
Bundler version 1.7.7
PS C:\Temp\rails> gem -v
PS C:\Temp\rails> irb -v
DL is deprecated, please use Fiddle
irb 0.9.6(09/06/30)
PS C:\Temp\rails> rake --version
rake, version 10.4.2

This also is a way to check that all the tools have been installed and are responding.


Also, follow this guide if you have matching error message:

if you are following above troubleshooting instructions about ssl certificate, then to make it permenant, you simply create a new sytem environment variable, i.e: