Upgraded ruby and rails versions