Situation
When trying installing Ruby 3.3.4
through rbenv on PopOs or any Ubuntu-based linux distribution
rbenv install 3.3.4
We get the following message:
ruby-build: definition not found: 3.3.4
Issue
Based on the error message, the issue occurs because Ruby 3.3.4 is not yet available in the version list managed by ruby-build.
Solution
Update ruby-build
git -C $(rbenv root)/plugins/ruby-build pull
Output
Check for the specific Ruby Version
rbenv install --list-all | grep 3.3.4
Output
Install the specific version
rbenv install 3.3.4
Output
Confirm new version
ruby -v
rbenv version
Output
Rehash
rbenv rehash
Done
Let's network
Final thoughts
Thank you for reading this article.
If you have any questions, thoughts, suggestions, or corrections, please share them with us.
We appreciate your feedback and look forward to hearing from you.
Feel free to suggest topics for future blog articles. Until next time!
Top comments (4)
Do you have an idea on how to add this to mina deployment flow?
I do not :(
Are you facing the same issue?
I did but it's an easy fix. I have mina in my deployment pipeline I just wanted to automate that as well
I wish I could help you, Given.