update rbenv check to be more portable/don't use which