Follow

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

@wallhackio I forgot that the Clodsire is currently unemployed

I hope Clodsire can find software eggineering job again if that's what he wants to do

@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 build-essential! The package that contains all the stuff like the C compiler and Make and GNU Autotools, right? I kept forgetting what it's called back when some of my systems still ran Debian

@vaporeon_ @wallhackio (i was joking. i just thought “i needed to install something called libyaml” was a funny thing to say)

@aescling @wallhackio @vaporeon_ not a stable release, not updated in five years, not conforming to the current spec, and a major load‐bearing component of the Ruby ecosystem?

@Lady @aescling @wallhackio @vaporeon_ oh for fuck sake really? also what, how the fuck is..... I have a Ruby 4.0.0 built against OpenSSH 3.5.5 LTS and it works fine?

@freya @aescling @wallhackio @vaporeon_ libyaml is an old, probably fine but also amateur implementation of YAML 1.1 (the current version of YAML is 1.2.2)

YAML 1.1 is the reason why YAML has such a bad reputation and YAML 1.2 fixed a lot of the issues and is much better, but unfortunately the Ruby community (and especially the Rails community) has probably built too much infrastructure around YAML 1.1’s weird and quirky behaviour to ever make the switch

@Lady @aescling @wallhackio @vaporeon_ huh! I've only just started using yaml, I generally avoid languages that use indentation as syntax but I can make it work if I'm really careful

@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.)

@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!

@Lady @aescling @vaporeon_ the tutorial I followed use some package manager named Mise because, according to the tutorial, it "allows you to easily update Ruby and switch between versions anytime."

@wallhackio @aescling @vaporeon_ girls don’t want switch between ruby versions at any time girls want multi ruby release channel drifting thru shell PATH hacks

@wallhackio @Lady @vaporeon_ when i saw that the tutorial used a Ruby installer i had never heard of befur i was like “okay well there’s your purroblem”. rbenv is pretty good, just use that

@wallhackio @aescling Reported for not using the Debian that your sister installed for you

And double-reported for using Windows 11 instead of whatever the earliest version of Windows is that you can get away with if you absolutely have to use Windows

@vaporeon_ @aescling sorry i am creature of habit and therefore stuck using windo-ohs at the present

@wallhackio @aescling The existence of Windo-oh implies the existence of Win-upaa :wooper:

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.