Skip to content

Commit e1b9e3c

Browse files
Update README.md
1 parent b08bd64 commit e1b9e3c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,14 @@ Ensure that it is showing the correct version.
1717
<summary><b>Configuring Ubuntu 24.04</b></summary>
1818
By default, Ubuntu 24.04 uses a debian-packaged version of Ruby, which installs gems to a root-owned path. This makes installing additional gems problematic.
1919
To work around this issue, run the following commands:
20+
2021
```shell
2122
mkdir $HOME/.ruby
2223
echo 'export GEM_HOME=$HOME/.ruby/' >> $HOME/.bashrc
2324
echo 'export PATH="$PATH:$HOME/.ruby/bin"' >> $HOME/.bashrc
2425
source $HOME/.bashrc
2526
```
27+
2628
This will make the `gem` command install Ruby gems to your local user's `.ruby` directory.
2729
</details>
2830
</p>

0 commit comments

Comments
 (0)