Good evening Aloha man, Yasunori!
When creating an application, "I absolutely need to work with past versions of Ruby! I think the time will come. (Actually, when I was about to do team development, I needed a past version of Ruby ...: sweat_smile :)
However, when I actually tried to install the past version, it didn't work and it took a long time, so I will write it for people who are in the same situation and for myself in the future! !!
Currently 2.6.5 version is included, so to install 2.5.1
rbenv install --list
When I ran
That ... why isn't the 2.5.1 version coming out! ??
As a result of confusingly going to the Ruby homepage and so on ... the answer was right there! !!
Yes, you can see it when you see it ...
"If you want to see all versions, use the --list-all option. 』
And ... I wrote ... Kindly: joy:
Once I was confused, I calmed down and realized that this is very important.
Now, let's take a second look and display the past version! !! With the option you checked earlier
rbenv install --list-all
When you run ...
came out! !!
I was wondering what would happen at one point, but I'm relieved to find the 2.5.1 version I wanted somehow.
And finally
rbenv install 2.5.1
If you execute
Yes! !!
It was installed successfully! !!
This settles down one case: laughing:
Even if a happening happens, don't rush and check the situation! !!