Failed to build Ruby 2.7.7 on CentOS 6.9 #2159
Unanswered
madsen
asked this question in
Build failures
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When I ran
rbenv install 2.7.7
on a CentOS 6.9 machine, I gotI eventually figured out that this was because /usr/bin/ruby is 1.8.7. I tried
export RBENV_VERSION=2.6.3
(the most recent version on this server) before running rbenv install, but that didn't help.What did help was
mv -iv /usr/bin/ruby{,NO}
. After that,rbenv install 2.7.7
worked fine, and I could thenmv -iv /usr/bin/ruby{NO,}
. But I don't think I should have to do that.Beta Was this translation helpful? Give feedback.
All reactions