How to install Ruby

In this tutorial I will show you how to install Ruby.

image

image

image

Be sure to check those 2 checkboxes especially the first one so that the path to be able to run ruby on the command line will be added to your environment variables.

image

image

image

Open up a new command line window to try if Ruby is really installed.

To know the version of ruby installed:

ruby –v

You can also use irb command to perform simple commands in ruby:

image

2 thoughts on “How to install Ruby

  1. Adding some info about different versions ruby 1.8 vs 1.9 and 32/64 bit can be useful ! Also how to install ruby on Linux and edit the path file.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s