Check if rbenv is installed before setting up its environment.