rbenv-rehash
It doesn't need to be a bash array and we don't need a separate index of shims registered. Simply keep everything in a space-separated string and use that as an index as well. This assumes that executable names *never* have spaces in them.
exec/which/whence
rbenv prefix system
hash -r
rbenv init
versions