Alexandre Calaça
Posted on September 13, 2024
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!
💖 💪 🙅 🚩
Alexandre Calaça
Posted on September 13, 2024
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.