-
Notifications
You must be signed in to change notification settings - Fork 13.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installing Ruby: Outdated outcome messages of rbenv init #28436
Comments
Hi thank you for making this issue @hebiscus ! We really just need to straight up change how the curriculum does this. Hopefully you're still up for making that PR! The The user does still need to install ruby-build, so don't touch those instructions. Also make sure to update this for both the Linux and MacOS branches of the install instructions. Since you indicated you'd be okay with working on this, I'll assign you. Definitely let me know if you have any questions or any of the things I'm requesting are unclear to you. I'm very glad to help or explain more! |
Any update on this @hebiscus ? |
@JoshDevHub Will be taking care of this in the upcoming days, Sunday the latest |
Hi. I had this issue as well, found the solution in the README, and was encouraged to contribute the solution. I was about to submit my pull request, but I guess since it's already been assigned, it will simply be cancelled without review if I try to submit it. This is my first time trying to contribute, so I guess it's good learning this lesson on something that was only two lines! |
Oh! Hold up. It looks like this issue was closed without the instructions being modified? The init command is still the same.; doesn't match ~/.rbenv/bin/rbenv init |
@CouchofTomato I just tried following the exact steps for installing Ruby on Linux (https://www.theodinproject.com/lessons/ruby-installing-ruby). Indeed, I ran into the issue multiple people said they ran into. I had to run ~/.rbenv/bin/rbenv init then right after that, I know I'm kind of repeating some of the same thing, I have no idea if the MacOS instructions need to be updated. I can test it on a Macbook if you need me to. |
It looks like the mac instructions may have changed as well.
I tagged you in the discord before thinking about linking this message here. I don't have a MacBook available to me, but I ran a search in the Ruby Help channel and found this from 7/29. Seems like it might be related to the recent update as well, but I can't be sure without seeing what they were looking at. |
@beneficial-radish the solution for that user's issue was to add Homebrew to their PATH variable I believe. the Installing Ruby lesson (for MacOS) reads:
Once you go through that, there should be a message that tells you how to add Homebrew to your PATH, which, again, seems to solve this issue. Additionally, there is a note on the Setting up Git lesson that reads:
It is unclear to me if this is something that will happen every time, or only to certain users. |
Gotcha. I haven't messed with MacOS on that level, so I wasn't sure if it was related to the new way that rbenv behaves. |
Checks
Describe your suggestion
Rbenv got an update 2 months ago and message after running
rbenv init
has changed. In the lesson at #step-22-install-rbenv two outcome messages are now incorrect, which puzzles people.I think instead of relying on the content of an outcome message, verifying if rbenv got installed correctly with
rbenv -v
would be better.Specific commit with those changes in rbenv repo: rbenv/rbenv@c3ba994
Path
Ruby / Rails
Lesson Url
https://www.theodinproject.com/lessons/ruby-installing-ruby
(Optional) Discord Name
hebiscus.
(Optional) Additional Comments
No response
The text was updated successfully, but these errors were encountered: