update ruby and gem versions; update specs that failed under new versions