Ensure the .rbenv directory exists before installing.