modify to errors are avoided if rbenv is not installed