installing Ubuntu packages and gem