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.
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.
Once the installer is downloaded, simply run it to start the installation.
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.
However, some gems or packages require compiling in C, so select the option to install MSYS2.
Once all the preparations have been made, the wizard will start the 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.
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.
After a few minutes, the word success will appear in the window. This means that the installation was completed. Please close the window.
Runs the interactive mode in Ruby
To check the performance of the Ruby interpreter, simply open a CMD and run the following command:
To exit, simply type the following command:
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.