Skip to content

Commit

Permalink
Installing Ruby: Update installing_ruby.md (#28624)
Browse files Browse the repository at this point in the history
* Update installing_ruby.md

Version 1.3.0 of rbenv has a feature change where rbenv init comes from the bin directory instead of right in the ~/.rbenv directory and now modifies shell initialization files instead of only printing instructions. 

The lesson needs to now either specify whether to use an older version, or if using the latest version, the terminal must be refreshed after this step. 

I am fresh out of Foundations and unsure how this change may affect any subsequent lessons in the course.

* Update installing_ruby.md

A blank line was needed under the code block. Simplified instructions on closing and opening the terminal.
  • Loading branch information
beneficial-radish authored Aug 14, 2024
1 parent eea6d17 commit eee2f49
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ruby/introduction/installing_ruby.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,11 @@ git clone https://github.com/rbenv/rbenv.git ~/.rbenv
Next command takes care of setting rbenv.

```bash
rbenv init
~/.rbenv/bin/rbenv init
```

Close the terminal window and open a new one to refresh.

Next, you need to install `ruby-build` to help compile the Ruby binaries. Run these commands in the terminal to create a directory for the ruby-build plugin and then download it to the proper directory.

```bash
Expand Down

0 comments on commit eee2f49

Please sign in to comment.