Fix loading of rbenv

Respect different paths depending on installation method.