patch for https, set version for rbenv