Ruby download and installation tutorial for Windows 10

Here, we have discussed tutorial for Ruby download and install on Windows 10. Ruby is simple, fast and flexible scripting programming language...

Hey folks, are you looking tutorial for Ruby download and install on Windows 10 - If yes, then stay with this article because today we will guide you step by step to easily download ruby ​​on your Windows operating system but before that let's take a overview of Ruby programming language.

Ruby download and installation tutorial for Windows 10

What is Ruby?

Ruby is simple, fast and flexible scripting programming language. Ruby programming language was designed and developed by Yukihiro Matsumoto which is popularly known as "Matz" in programming World. Yukihiro developed Ruby programming language as a free and open source programming language in mid 1990s. Anyone can download and install Ruby programming language for free from its official website. Ruby is a side server scripting programming language which provides a vast range of rich inbuilt libraries to its users. Ruby programming language is general purpose or multi purpose programming language as it can be used by programmers in developing different applications, programs, softwares, etc. And also Ruby is cross platform or platform independent programming language which means that it can run on different operating systems like Windows, Linux, Unix, macOS, etc. Ruby programming language has clear and simple syntax and it also provides the feature of Automatic garbage collector.

Now, let's start Ruby download and installation tutorial 

How to download and install Ruby on Windows 10

Here, we have discussed step by step guide to download and install Ruby on Windows 10 PC;

• Download Ruby installer

First of all, go to Ruby download for Windows 10 and simply click on download button.

Ruby download and installation tutorial for Windows 10

After clicking on the download button, you will reach the new page where you will have to download the ruby ​​installer according to your Windows compatibility. In my case, I am using Windows 10 (64-bit), so I have selected Ruby + Devkit-x.x.x.x (x64). You can download the ruby ​​installer as per the compatibility of your windows operating system. Note : Whenever you download ruby ​​installer, always prefer to download along with devkit. 

Ruby download and installation tutorial for Windows 10

After selecting Ruby installer version, just click on "Save" button to download Ruby installer for windows.

Ruby download and installation tutorial for Windows 10

• Setup Ruby installer exe file

Now, it's time to Setup Ruby installer exe file on your windows operating system. For this, go to Downloads folder then search for ruby-installer-devkit-x.x.x.x(x64) file and open it!!

Ruby download and installation tutorial for Windows 10

Now, Read the user end license agreement carefully - then just tick the "I accept the license" box and simply click on "Next" button to continue installation.

Ruby download and installation tutorial for Windows 10

Here, you have to select the components that you want to install along with Ruby Installer - go with system's by default settings and again click on Next to continue Ruby installation process.

Ruby download and installation tutorial for Windows 10

Note : If by default all components are selected then Ruby installer requires at least 969.1 MB free disk space.

• Install Ruby installer

Ruby Installer is ready to install on your Windows 10, all you need to do is browse the path of the destination folder where you want to store the Ruby related files. After browsing the path just click on "Install" button to continue installation.

Ruby download and installation tutorial for Windows 10

Wait a couple of seconds until ruby ​​is completely installed. After Ruby is successfully installed on your Windows PC, you will see something like this;

Ruby download and installation tutorial for Windows 10

• Setup MSYS2 and Development toolchain

After you click the Launch button, you'll reach in the Ruby Installer command line where you'll need to download some of the MSYS2 development toolchain 

Ruby download and installation tutorial for Windows 10

- just hit "Enter" key.  You will now see that additional files of the Ruby installer will start downloading automatically. 

• Setup path environment variable for Ruby

After downloading MSYS2 development toolchain, it's time to setup ruby's path environment variables. For that, go to file explorer > C:/ > Ruby30-x64 > bin and just copy this path by pressing ctrl+c.

Ruby download and installation tutorial for Windows 10

Now, go to system properties then click on Environment variable and open it.

Ruby download and installation tutorial for Windows 10

Here, select the path option and then click on "Edit" to add new Ruby installer path.

Ruby download and installation tutorial for Windows 10

Now, just click on "New" then press ctrl+v to paste Ruby bin folder location and just click on "Ok" button. That's it!!

Ruby download and installation tutorial for Windows 10

• Check with commands

Now, it's time to check whether Ruby has been successfully installed on your Windows 10 or not. For this, go to the Windows menu and then search for Command Prompt and open it. Now, let's check with commands.

- to check version of ruby

Ruby -v

Output

Ruby -v command ( to check ruby version on Windows 10) Ruby download and installation tutorial for Windows 10

- to check ruby gem list

gem list

Output

Gem list command ( to check ruby gem list on Windows 10) Ruby download and installation tutorial for Windows 10

- to print Hello world in Ruby

Ruby -v "puts 'hello world...'"

Output

Ruby -v "puts 'hello world...'" command ( to print Hello world in Ruby on command line of Windows 10) Ruby download and installation tutorial for Windows 10

Conclusion

Above we have discussed tutorial for Ruby download and install on Windows 10. Ruby is simple, fast and flexible scripting programming language. Ruby programming language was designed and developed by Yukihiro Matsumoto which is popularly known as "Matz" in programming World. Yukihiro developed Ruby programming language as a free and open source programming language in mid 1990s. Anyone can download and install Ruby programming language for free from its official website. Ruby is a side server scripting programming language which provides a vast range of rich inbuilt libraries to its users. And by following above mentioned steps anyone can easily download and install Ruby programming language on Windows PC. I hope this information is helpful to you all.