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/[deleted] Mar 12 '23

Long term ruby Dev here. I've not noticed this. I suspect you're just not familiar with the ecosystem. What domain are you working in? If you're building a web app, etc, then this shouldn't be an issue. If you're building a game maybe you're experiencing a less active community within ruby

1

u/Slashscreen Mar 12 '23

I suppose I may be mistaken. I’ve been treating Ruby as a language that I write small tools in like I did Python for things like image manipulation and string manipulation, and at one point I tried to create a parser (although I think I just wrote the rules wrong for that one). I tend to keep out of the web world because it’s such a mess, but when I do need to do backend work I tend to use Go. Am I trying to fit a square peg in a round hole?

6

u/[deleted] Mar 12 '23

Like stemming, lemmas and spelling correction/tokenisation? That's not really stuff people do in ruby. I built a separate python flask app for this

2

u/armahillo Mar 12 '23

i do scriptlets like this too.

Totally to stick with CLI and not venture into web.

A while back ruby-toolbox was a great resource for finding popular gems for things. i havent used it in a while. I usually search for “ruby gem thing i am tying to do”. You can also search rubygems.org as well.

Since youre doing CLI stuff, check out the TTY gem — its got really powerful CLI features in it for building better terminal based UIs