Have you seen those gemfile files.
Install ruby 2 6 and add its location to your path.
That s why bundler exists.
This is because gems with c extensions are not compatible between ruby 2 5 and 2 6.
If configure does not exist or is older than configure ac run autoconf to re generate configure.
It can also manage different gemsets.
However the rvm command won t be accessible in your.
Your computer s c drive is visible in the wsl at the path mnt c mnt is a linux convention for the location where drives are mounted and c refers to your c drive.
Every distribution is different.
That s where you write what gems you want to use for your ruby application.
2020 01 05 read full article.
It can be used for continuous integration tests ci on your gems or applications so that you re prepared for upcoming changes to the ruby.
You should therefore stay on 2 6 until 2 7 is well supported unless you want to contribute and fix remaining issues.
Please note that some gems are not yet compatible with ruby 2 7 on windows.
Refer to your distribution s documentation and community forums for help installing ruby on distributions other than ubuntu or its variants.
Rvm ruby version manager rvm allows you to install and manage multiple installations of ruby on your system.
The installation process modifies your bashrc file to add the rvm bin folder to your path environment variable so you can run the rvm command easily.
Your regular ruby application isn t built as a gem so it doesn t get this feature.
We ll now install a particular version of ruby.
Look for the.
Rubyinstaller head is a daily updated version of the ruby development branch.
Rbenv install l the output of that command should be a long list of versions that you can choose to install.
These gems will be loaded for you without having to require them.
If you want to use microsoft visual c to compile ruby read win32 readme win32 instead of this document.
A gemfile looks like this.
While it can t install ruby by default its ruby build plugin can.
With the ruby build rbenv plugin now installed we can install whatever versions of ruby that we may need through a simple command.
First let s list all the available versions of ruby.
See the ruby 2 7 0 release post and the the rubyinstaller changelog for more details.
This is what you need to do to compile and install ruby.
Rubyinstaller 2 7 0 1 has been released.
This is where ruby and all of its related components will be installed along with the rvm executable program you use to install ruby.
Find more in the faq.