mirror of
https://github.com/rbenv/rbenv.git
synced 2024-12-28 20:55:38 +01:00
readme: add some warnings
This commit is contained in:
parent
925e5ad0e7
commit
1fcb988164
1 changed files with 3 additions and 2 deletions
|
@ -37,7 +37,8 @@ On systems with Homebrew package manager, the “Using Package Managers” metho
|
|||
|
||||
#### Debian, Ubuntu, and their derivatives
|
||||
|
||||
Note that the version of rbenv that is packaged and maintained in the
|
||||
> [!CAUTION]
|
||||
> The version of rbenv that is packaged and maintained in official
|
||||
Debian and Ubuntu repositories is _out of date_. To install the latest
|
||||
version, it is recommended to [install rbenv using git](#basic-git-checkout).
|
||||
|
||||
|
@ -144,7 +145,7 @@ Select a Ruby version for your project using `rbenv local 3.1.2`, for example. T
|
|||
gem install bundler
|
||||
```
|
||||
|
||||
> [!WARNING]
|
||||
> [!NOTE]
|
||||
> You _should not use sudo_ to install gems. Typically, the Ruby versions will be installed under your home directory and thus writeable by your user. If you get the “you don't have write permissions” error when installing gems, it's likely that your "system" Ruby version is still a global default. Change that with `rbenv global <version>` and try again.
|
||||
|
||||
Check the location where gems are being installed with `gem env`:
|
||||
|
|
Loading…
Reference in a new issue