one gotya that i haven't seen on the internet is that in .bash_profile you guarantee that
export PATH="$HOME/.rbenv/bin:$PATH"
placed before
eval "$(rbenv init -)"
Otherwise, the shell will try to run rbenv init before it can be found.
Reversing these two lines will cause both problems described by the OP;
ruby -v
does not display the version installed by rbenv
rbvenv shell
return "rbenv: there is no such command` shell '.
Do not ask how I know!
Today I discovered a problem on Github to offer an update to sstephenson's already awesome documentation.
source share