Easily install ruby on Windows 10 with RubyInstaller

Windows Articles

How to create GPO in Windows Server 2019.

Hi, in today's post we will be looking at GPOs in Windows Server 2019. The Group Police Object are a set of...

How to install OpenLiteSpeed on Ubuntu 20.04?

There are several web servers for Linux but other alternatives are always welcome. In this case, I will show you how to...

Linux 5.7 available

Time passes very quickly and we already have a new version of the Linux kernel that as always we are happy because...

How to install RStudio on Ubuntu 20.04 / 18.04

No matter how complete and robust a programming language is, the programmer will always need a tool to write the code. These programs have...

How to install Arduino IDE on Ubuntu 20.04 / 18.04 / Linux Mint 19.X?

Hi, folks. In this post, we will show you how to install Arduino IDE on Ubuntu 20.04/ 18.04 and Linux mint 19.x. You probably already...

Hey, what’s up? In this post, we’ll talk a little bit about Ruby. This is an interpreted, reflexive and object-oriented programming language created by Japanese programmer Yukihiro “Matz” Matsumoto. On the other hand, Ruby is designed for the developer’s productivity and fun, following the principles of a good User Interface. In addition, it combines Python and Perl inspired syntax with Smalltalk-like object-oriented programming features. It is a general-purpose language, meaning that with Ruby you can develop all kinds of different applications. Also, it is an interpreted language, that is, it is not compiled. On the other hand, it is high-level, dynamic and flexible. Finally, it is a multiplatform, free and open source. All these features, making it very interesting to use. So, let’s see how to install Ruby on Windows 10.

Downloading RubyInstaller

As mentioned in the title, we’ll be using RubyInstaller to install Ruby on Windows 10. In the first place, go to the RubyInstaller page. In the download section, please choose the version corresponding to your computer’s architecture. At the time of writing this post, the most recent version is 2.6.5.-1.

The download section of the RubyInstaller website
The download section of the RubyInstaller website

Once the installer is downloaded, simply run it to start the installation.

Accept the license
Accept the license

The following box shows various configuration options. It’s a good idea to check all of them since this adds Ruby to the PATH, as well as associates the .rb and .rbw files with the Ruby installation. It is also possible to choose UTF-8 as the external encoding parameter.

Set Ruby installation options
Set Ruby installation options

However, some gems or packages require compiling in C, so select the option to install MSYS2.

Install MSYS2 development toolchain.
Install MSYS2 development toolchain.

Once all the preparations have been made, the wizard will start the installation.

The wizard running the Ruby installation
The wizard running the Ruby installation

Wait a few seconds while the assistant does his job. Finally, select the option to run the ridk install. This will install the MSYS2 and the development toolchain.

Complete the installation and install MSYS2
Complete the installation and install MSYS2

A new window will be displayed immediately to continue the installation. Please leave everything by default to execute a full installation. Press enter to start the process.

Start the installation of MSYS2
Start the installation of MSYS2

After a few minutes, the word success will appear in the window. This means that the installation was completed. Please close the window.

MSYS2 installation successfully completed.
MSYS2 installation successfully completed.

Runs the interactive mode in Ruby

To check the performance of the Ruby interpreter, simply open a CMD and run the following command:

irb
Starting Ruby's interactive mode.
Starting Ruby’s interactive mode.

To exit, simply type the following command:

exit

Ultimately we have seen how to install Ruby on Windows 10. From now on you can use this powerful programming language. Before I say goodbye, I invite you to check out our post about Django on Windows 10.

More articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest article

How to create GPO in Windows Server 2019.

Hi, in today's post we will be looking at GPOs in Windows Server 2019. The Group Police Object are a set of...

How to install OpenLiteSpeed on Ubuntu 20.04?

There are several web servers for Linux but other alternatives are always welcome. In this case, I will show you how to...

Linux 5.7 available

Time passes very quickly and we already have a new version of the Linux kernel that as always we are happy because...

How to install RStudio on Ubuntu 20.04 / 18.04

No matter how complete and robust a programming language is, the programmer will always need a tool to write the code. These programs have...

How to install Arduino IDE on Ubuntu 20.04 / 18.04 / Linux Mint 19.X?

Hi, folks. In this post, we will show you how to install Arduino IDE on Ubuntu 20.04/ 18.04 and Linux mint 19.x. You probably already...