Rubygems metadata extraction not working

🔥 Problem

While investigating and verifying #357905 (closed), it seems that that background worker that needs to process ruby gems packages is not working properly.

Trying to push the faker gem: faker-2.20.0.gem, the metadata row fails to be created/updated because the files field is too large.

Trying to push a dummy simple gem: hola-0.0.0.gem, the worker fails. We didn't investigate what the error is.

In both cases, the package is left behind in an error state:

Screenshot_2022-04-11_at_08.58.45

🚒 Solution

Investigate both packages and both errors and fix them.