1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-17 15:53:45 -05:00

Bring automatic gem-rehash functionality to rbenv core

This bakes in the functionality of rbenv-gem-rehash plugin.

The Rubygems hook is improved:

- It will not rehash for gems installed in locations that rbenv otherwise
  doesn't search for binstubs; for instance in case of
  `bundle --path vendor/bundle`.
- It rescues exceptions and makes them non-lethal by warning on stderr.
This commit is contained in:
Mislav Marohnić
2014-10-16 16:33:22 +02:00
parent 632263568e
commit 67f429c41d
2 changed files with 19 additions and 0 deletions

View File

@@ -0,0 +1 @@
export RUBYLIB="${BASH_SOURCE%.bash}:$RUBYLIB"