Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid an infinite loop when ruby version is "system"
The loop was caused by rbenv-gemset's rbenv-which hook, which was called when rbenv-which was invoked. rbenv-gemset's hook then invoked rbenv-prefix, which (when version is "system") in turn invokes rbenv-which, and the cycle continued. This solution gives a hard default directory for system gemsets.
- Loading branch information