Upgraded gem dependencies and latest Ruby version