Quick Way to Install Ruby on Your Computer

       We have discussed fascinating features of Ruby and why is Ruby favourite of many developers. It's time to write your very first Ruby program. Let's get started with Ruby.

Quick Way to Install Ruby on Your Computer

Install Ruby on Ubuntu 14.04

Open up the Terminal by holding Ctrl+Alt+T.
Ubuntu uses the apt package manager. You can use it like this:

$ sudo apt-get install ruby-full

Install on Mac OS X

     OS X Yosemite and Mavericks have pre-installed Ruby 2.0.  If you are using an older version of Mac OS X use the homebrew  package manager.

$ brew install ruby

Install on Windows 7/8

If you are on Windows platform, use the installer which helps to install ruby on windows .

Check the Ruby version 

Open up the terminal or Commands prompt (Windows - Go to Ruby folder >bin)

$ruby -v

Check the Interactive Ruby Shell (IRB)

IRB is an interactive shell, IRB allows the execution of Ruby commands with quick response, We can say it as a real-time tool for executing Ruby commands.

puts "Welcome to IRB"

Done! Next lesson we will write a ruby program.
Quick Way to Install Ruby on Your Computer Quick Way to Install Ruby on Your Computer Reviewed by NIKINMON SK on 7/07/2016 02:46:00 pm Rating: 5


  1. I am not sure where you are getting your information, but great topic. I needs to spend some time learning much more or understanding more. Thanks for fantastic information I was looking for this info for my mission. gmail.com login

  2. Hey, Thank you so much for this post. It's really helpful.



Share your thought with us!

Powered by Blogger.