There are two ways to install Ruby in a Windows environment:
1 - Full compilation installation from source code
This involves downloading the latest source code of the Ruby language and compiling it using VC or another C language compiler to install Ruby.