Check if rbenv is installed before sourcing

Ran into a problem on another system that doesn't have rbenv installed,
this fix checks to make sure rbenv is installed before trying to run it.