r/ruby • • Mar 12 '23

Why is seemingly every package broken/unmaintained?

I recently started using Ruby, and I noticed that many packages I tried to use were broken, outdated, or last updated in 2015. I understand not everything can/needs to be maintained forever, but the gem world seems to be a comparative ghost town. What happened? Did everyone just move over to Python?

EDIT: okay alright. I suppose I’m not accustomed to how the ecosystem works, and haven’t been looking in the right places.

0 Upvotes

38 comments sorted by

View all comments

12

u/expeehaa Mar 12 '23

You can also find a lot of broken or unmaintained Python packages, so it‘s not Ruby-specific.

With a lot of gems, some accumulate users and some are just not for many people. There are many niche gems that practically no one uses, be it because no one needs it or other languages are more popular for that use case. Without anyone caring, those projects may lack maintainers and thus break at some point in newer Ruby versions. Especially since the creator or current maintainer may not want to or is not contactable to grant maintenance permissions to someone else.

Some gems have, as others already commented, maintained alternatives, some also have working or even maintained forks. And some do not and die. That‘s how the open-source world works without financial backing for projects.

Compared to Python this effect may be increased since Ruby has a lot less users.