Support rbenv

Maybe not the best way to implement it but it's working.