Skip to content

Commit

Permalink
Update Ruby to 3.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
KatBrandt committed Feb 1, 2024
1 parent a04e5db commit f2d0fa4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions computer-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -341,11 +341,11 @@ SSH keys are a secure and convenient way to authenticate. We won't get into more
1. Close the Terminal using `command + q` - this is absolutely necessary! Clicking the red dot in the corner is not a substitute.
1. Re-open the Terminal, and run `rbenv versions`. As long as you don't get an error message, `rbenv` has been installed correctly.
- Use `rbenv` to change Ruby versions by taking the following steps:
1. In the Terminal, run `rbenv install 3.1.4`. This may take several minutes, and will likely print a lot of output. Wait patiently until it finishes and the command prompt returns. You may also get a message that this version of ruby is nearing the end of its life. While this sounds scary, it's actually ok! You will still be able to use this version of ruby. It only means that this version will no longer receive further critical security updates.
1. Run `rbenv versions`. You should now see `3.1.4` listed.
1. Run `rbenv local 3.1.4` .
1. Run `ruby -v`. If the output does not include `ruby 3.1.4`, `command + q` out of the Terminal and start this step over. If you still aren't seeing `ruby 3.1.4`, check that you correctly followed the step above to edit your `.zshrc` file.
1. Run `rbenv global 3.1.4` then `rbenv rehash`. You should not expect any output from those commands.
1. In the Terminal, run `rbenv install 3.2.2`. This may take several minutes, and will likely print a lot of output. Wait patiently until it finishes and the command prompt returns. You may also get a message that this version of ruby is nearing the end of its life. While this sounds scary, it's actually ok! You will still be able to use this version of ruby. It only means that this version will no longer receive further critical security updates.
1. Run `rbenv versions`. You should now see `3.2.2` listed.
1. Run `rbenv local 3.2.2` .
1. Run `ruby -v`. If the output does not include `ruby 3.2.2`, `command + q` out of the Terminal and start this step over. If you still aren't seeing `ruby 3.2.2`, check that you correctly followed the step above to edit your `.zshrc` file.
1. Run `rbenv global 3.2.2` then `rbenv rehash`. You should not expect any output from those commands.
- If you've followed these steps and are having issues, please DM the Mod 0 Lead on Slack ASAP. It is essential `rbenv` is installed on your machine correctly.
<br>
Expand Down Expand Up @@ -392,7 +392,7 @@ pull.rebase false
```
Hi <your_username>! You've successfully authenticated, but GitHub does not provide shell access.
```
1. **Rbenv:** In your terminal, run `ruby -v`. Your terminal will output the current version of ruby. It should look something like this: `ruby 3.1.4p223 (2023-03-30 revision 957bb7cb81) [arm64-darwin22]`.
1. **Rbenv:** In your terminal, run `ruby -v`. Your terminal will output the current version of ruby. It should look something like this: `ruby 3.2.2p223 (2023-03-30 revision 957bb7cb81) [arm64-darwin22]`.
1. **Node:** In your terminal, run `node -v`. Your terminal will output the current version of node. It should look something like this: `v16.15.1`.

If after re-reading and completing the setup steps a second time, you are still experiencing issues, document the problem with screenshots and reach out for support in your Mod 0 Slack channel!
Expand Down

0 comments on commit f2d0fa4

Please sign in to comment.