Specify reloading of shell when installing Ruby

The instructions for installing Ruby indicate you need to reload your shell before you can run the 'install' command. This has caused me problems on several of my Mastodon installs since I am not a regular Ruby user. I believe adding this step will provide clarity on an otherwise unclear error message. See https://github.com/rbenv/rbenv#:~:text=init%20does.-,Restart,-your%20shell%20so
This commit is contained in:
Sky 2023-02-03 11:24:13 -06:00 committed by GitHub
parent 5b0cd8b7f0
commit ce0d156375
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -81,6 +81,8 @@ exec bash
git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build
```
Restart your shell or open a new terminal tab so that the changes take effect. Otherwise you may get a `rbenv: no such command 'install'` error.
Once this is done, we can install the correct Ruby version:
```bash