Trying to install Ruby via RVM and getting compilation error.
I checked for and installed a requirement but still getting the error.
Hey Paul,
Without more specific details about the error you’re facing, it’s a bit tough to pinpoint the issue. However, general advice would be to ensure you have all necessary dependencies installed before you install Ruby via RVM such as ‘libyaml’ and ‘libreadline’. If the error continues, please provide more info or the specific error message received.
Best,
Bobby
libreadline6-dev was installed by RVM. how do I install ‘libyaml’?
Both packages are installed and still get the error. the screenshot is the only thing I have to share.
Hi there. Try rbenv. Much better. I started with RVM, then rbenv. The latter got me through multiple localhost dev box applications.
people have also recommended asdf.
I’ve encountered this RVM issue when I’ve neglected to upgrade my xcode on my Mac. After I upgraded xcode to the latest version and installed the latest xcode command line tools, RVM started working again. (I might have also re-installed RVM after upgrading xcode and its command line tools). I hope that helps.
Actually I figured out RVM. thanks