Cannot install Ruby on CentOS

Trainee Asked on October 12, 2019 in Cpanel.
Add Comment
1 Answer(s)

For Ruby 1.8.6 I had to add another repository.

Create /etc/yum.repos.d/ruby.repo and add the following:

[ruby]
name=ruby
baseurl=http://repo.premiumhelp.eu/ruby/
gpgcheck=0
enabled=0

Then

yum --enablerepo=ruby install ruby

From www.centos.org forums.

Don’t bother installing rubygems this way, it’s obsolete.

Reviewer Answered on October 12, 2019.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.