Ruby Installation - Windows


Here are the steps to install Ruby on a Windows machine.

NOTE − You may have different versions available at the time of installation.

  • Download a zipped file having latest version of Ruby. Follow Download Link.

  • After having downloaded the Ruby archive, unpack it and change into the newly created directory −

  • Double-click the Ruby1.6.7.exe file. The Ruby installation wizard starts.

  • Click Next to move to the Important Information page of the wizard and keep moving till Ruby installer completes installing Ruby.

You may need to set some environment variables if your installation has not setup them appropriately.

  • If you use Windows 9x, add the following lines to your c:\autoexec.bat: set PATH = "D:\(ruby install directory)\bin;%PATH%"

  • Windows NT/2000 users need to modify their registries.

    • Click Control Panel | System Properties | Environment Variables.

    • Under System Variables, select Path and click EDIT.

    • Add your Ruby directory to the end of the Variable Value list and click OK.

    • Under System Variables, select PATHEXT and click EDIT.

    • Add .RB and .RBW to the Variable Value list and click OK.

  • After installation, make sure everything is working fine by issuing the following command on the command-line −

$ruby -v
ruby 1.6.7
  • If everything is fine, this should output the version of the installed Ruby interpreter as shown above. You may have installed different version, so it will display a different version.


Useful Video Courses


Learn Ruby on Rails from Scratch

46 Lectures 9.5 hours

Eduonix Learning Solutions


Master Ruby on Rails - For Beginners

97 Lectures 7.5 hours



Dissecting Ruby on Rails 5 - Become a Professional Developer

227 Lectures 40 hours



Complete Ruby Course in Tamil

19 Lectures 10 hours

Programming Line


Ruby Programming Fundamentals

51 Lectures 5 hours

Stone River ELearning


Ruby On Rails for Beginners

39 Lectures 4.5 hours

Stone River ELearning