Managing multiple versions of Ruby on Windows can be a harrowing task since RVM is not present for Windows environment. And suppose you want to install different projects which require different version of Ruby and Rails on Windows.
Can be a challenging task? I don't think so as pik comes to your rescue.
"pik is a tool to manage multiple versions of ruby on Windows. It can be used from the Windows command line (cmd.exe), Windows PowerShell, or Git Bash."
Installation can be tricky at times. So I will take you through a simple tutorial of installing pik and managing your ruby versions.
First and foremost, install which ever ruby versions you require on your system from -
Here the number 187 , 193 or 200 are the ruby versions minus dots.
To verify the changes done to the config.yml file and whether they are correct or not execute the following
ruby dk.rb review
ruby dk.rb install
It enhances your installed Rubies.
According to DevKit website this step installs (or updates) an operatingsystem.rb file into the relevant directory needed to implement a RubyGems preinstall hook and a devkit.rb helper library file into \lib\ruby\site_ruby
Now you are ready to use multiple versions of Ruby in Windows
To view the installed ruby versions execute