Added support for rbenv.