[ruby] Uninstall old versions of Ruby gems