Skip to content

Commit

Permalink
Improve disabling instruction
Browse files Browse the repository at this point in the history
Though this is a minor change, I think it is good to have it. It is better to commend a line in config files to disable something than to remove it.
  • Loading branch information
ahangarha committed Dec 16, 2022
1 parent 593f820 commit 7509eaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ You can run `rbenv init -` for yourself to inspect the generated script.
The simplicity of rbenv makes it easy to temporarily disable it, or
uninstall from the system.
1. To **disable** rbenv managing your Ruby versions, simply remove the `rbenv init` line from your shell startup configuration. This will remove rbenv shims directory from PATH, and future invocations like `ruby` will execute the system Ruby version, bypassing rbenv completely.
1. To **disable** rbenv managing your Ruby versions, simply comment or remove the `rbenv init` line from your shell startup configuration. This will remove rbenv shims directory from PATH, and future invocations like `ruby` will execute the system Ruby version, bypassing rbenv completely.
While disabled, `rbenv` will still be accessible on the command line, but your Ruby apps won't be affected by version switching.

Expand Down

0 comments on commit 7509eaf

Please sign in to comment.