remove obsolete gem code

[fixes #43896637]