its so fucking cool that the tutorial im following for installing ruby doesn't work with modern versions of ubuntu that is so sick

@wallhackio What does the Clodsire need Ruby for? Also, what's the error message. Perhaps, the Vaporeon can try to help...

@vaporeon_ I fixed it

I am learning ruby on rails for job hunt purposes

@vaporeon_ I need to manually compile an older version of OpenSSL because Ruby doesn't like the newer versions. I also had to manually install something called libyaml, and install a couple packages (libffi-dev, build-essential, checkinstall, zlib1g-dev)

@wallhackio @vaporeon_ btw Ruby can definitely build against current OpenSSL so idk what your toolchain is doing but it seems kinda bad

@wallhackio @vaporeon_ also

doesn’t ubuntu have Ruby in its repositories? why couldn’t you just apt install ruby?

@aescling @wallhackio @vaporeon_ i recommend using rbenv rather than installing ruby from a package manager because needing to switch ruby versions is common and a pain

rbenv says to install from git rather than use apt install because the latter is out of date

@Lady @aescling @wallhackio @vaporeon_ I usually prefer system Ruby because you can mostly just say "it's the Ubuntu LTS' version of Ruby" and be fine for a couple of years, but yeah if you have to switch versions you'll wish you had done RVM (or I guess rbenv) instead. (There's also the "screw it, I'm using the official Ruby Docker images", which is vaguely okay too, but obviously more work to set up for small stuff.)

Follow

@aschmitz @aescling @wallhackio @vaporeon_ it was a medium deal during the ruby 2 to 3 upgrade when many older repositories were not yet ruby 3 compatible. i mostly haven't had compatibility issues since then and 3 to 4 seems like less of a jump, so unless you are on bullseye for some reason system ruby might be ok

@Lady @aescling @wallhackio @vaporeon_ Yeah, I follow the Ruby news and it's occasionally annoying having to wait for a point release's features, but it's a tradeoff for not having to think about it that often. Reasonable options abound!

Sign in to participate in the conversation
📟🐱 GlitchCat

A small, community‐oriented Mastodon‐compatible Fediverse (GlitchSoc) instance managed as a joint venture between the cat and KIBI families.