From f2d0fa416c352415456f765426f645186ed91e58 Mon Sep 17 00:00:00 2001 From: Kat Brandt Date: Thu, 1 Feb 2024 10:21:27 -0700 Subject: [PATCH] Update Ruby to 3.2.2 --- computer-setup.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/computer-setup.md b/computer-setup.md index af2228b..1472749 100644 --- a/computer-setup.md +++ b/computer-setup.md @@ -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.
@@ -392,7 +392,7 @@ pull.rebase false ``` Hi ! 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!