curriculum icon indicating copy to clipboard operation
curriculum copied to clipboard

Ruby : Content on how to update ruby to the latest version.

Open XAJX179 opened this issue 4 weeks ago • 4 comments

Checks

Describe your suggestion

Add step by step instructions on how to update ruby version.

  1. cd to ~/.rbenv
  2. git pull
  3. ~/.rbenv/bin/rbenv init
  4. cd ~/.rbenv/plugins/ruby-build
  5. git pull
  6. rbenv install --list-all (to check versions available)
  7. rbenv install x.y.z (install x.y.z version) e.g rbenv install 3.4.6

Path

Ruby / Rails

Lesson Url

https://www.theodinproject.com/lessons/ruby-installing-ruby#step-2-install-ruby

(Optional) Discord Name

No response

(Optional) Additional Comments

No response

XAJX179 avatar Nov 27 '25 15:11 XAJX179

This is good. A couple of thoughts:

  1. This is OS-independent (doesn't matter if the user is on Linux or MacOS), so I wouldn't put it in with the install instructions. Have a new heading after the install instructions (but before the Extras heading, and call it ### Updating your Ruby version. Add your instructions there.
  2. The main two places people might run into issues with this would be for the custom enumerables project and the ruby testing stuff. In both of those repos, can you put in PRs that add a note box after the bundle install command in their READMEs? Maybe something like:

[!NOTE]
If the above bundle install command fails by telling you that you don't have the necessary version of Ruby, just follow the instructions to update your Ruby version located in the Installing Ruby lesson in the curriculum.

Edit: Note markdown is made by doing

> [!NOTE]
> Stuff in the notebox appears here

I'll assign you. Let me know if you have any questions about the things I talked about above.

JoshDevHub avatar Dec 01 '25 17:12 JoshDevHub

This is good. A couple of thoughts:

1. This is OS-independent (doesn't matter if the user is on Linux or MacOS), so I wouldn't put it in with the install instructions. Have a new heading after the install instructions (but before the `Extras` heading, and call it `### Updating your Ruby version`. Add your instructions there.

2. The main two places people might run into issues with this would be for the custom enumerables project and the ruby testing stuff. In both of those repos, can you put in PRs that add a note box after the `bundle install` command in their READMEs? Maybe something like:

Note

If the above bundle install command fails by telling you that you don't have the necessary version of Ruby, just follow the instructions to update your Ruby version located in the Installing Ruby lesson in the curriculum.

Edit: Note markdown is made by doing

> [!NOTE]
> Stuff in the notebox appears here

I'll assign you. Let me know if you have any questions about the things I talked about above.

I will not put it in with the install instructions, i will make a new custom section heading for it.

also i will add those PRs in other repos editing their README after PR for this issue gets merged

XAJX179 avatar Dec 01 '25 18:12 XAJX179

Forgot to assign after my last message.

JoshDevHub avatar Dec 02 '25 17:12 JoshDevHub

@JoshDevHub i also added a little bit content on how to set global and local ruby versions.

XAJX179 avatar Dec 05 '25 16:12 XAJX179