if I keep getting gcc segfaults while trying to install ruby 4.0.9 with rbenv, w...

@christianp@mathstodon.xyz

if I keep getting gcc segfaults while trying to install ruby 4.0.9 with rbenv, what could the cause be? I've seen some posts saying it could be due to low memory, but this PC has bags of RAM.