How to Install Older Versions of Ruby on Rails (like 5 or 6)?
Posted: Tue Jun 10, 2025 8:02 pm
Hello everyone,
I’ve been struggling for the past two days trying to set up an older version of Ruby on Rails.
I’m currently learning Rails through a course that focuses on versions 5 and 6, but the latest version available now is Rails 8. I want to start from version 5 and gradually move up.
I tried installing Rails 6 using rbenv, but I keep running into dependency conflicts even though the environment should be isolated.
I also tried using Docker (my experience with it is still basic), but even with help from ChatGPT, DeepSeek, and Gemini, I couldn’t get a working environment for Rails 6. Again, I faced the same dependency issues.
If anyone has a working, tested method for installing Rails 5 or 6 especially something simple and clear I’d really appreciate your help.
I’m using MX Linux 23.
Thanks in advance!
I’ve been struggling for the past two days trying to set up an older version of Ruby on Rails.
I’m currently learning Rails through a course that focuses on versions 5 and 6, but the latest version available now is Rails 8. I want to start from version 5 and gradually move up.
I tried installing Rails 6 using rbenv, but I keep running into dependency conflicts even though the environment should be isolated.
I also tried using Docker (my experience with it is still basic), but even with help from ChatGPT, DeepSeek, and Gemini, I couldn’t get a working environment for Rails 6. Again, I faced the same dependency issues.
If anyone has a working, tested method for installing Rails 5 or 6 especially something simple and clear I’d really appreciate your help.
I’m using MX Linux 23.
Thanks in advance!