ruby 3.3.7 on Arch x86_64 fails to build "external command failed with status 2" (ruby-erb missing) #2518
-
Hey, Using
Full logs: I hope someone can help me out. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi, from your full build log, this is the actual error:
Now, I don't know why "erb" failed to load, but let's first find out where this is coming from. My hunch is that your system Ruby (the version of Ruby you had installed on your system before even compiling Ruby 3.3.7) is having problems with erb? You can check by scanning your log for BASERUBY:
Okay, so it looks like you have Ruby 3.3.5 in
If you get the same error, then your |
Beta Was this translation helpful? Give feedback.
Thanks, it appears that on Arch an additional package
pacman -S ruby-erb
is needed.I installed it, and the build was successful.
I suggest updating https://github.com/rbenv/ruby-build/wiki#arch-linux.