Ruby upgrade