How to install rvm on RHL7 using centos repo

How to install rvm (ruby) on RHL7 using centos repo.

I know if we are using the centos repository we should be using CentOS OS and not RedHat, but we have proprietary software that requires Redhat.

when i try to install ruby ​​1.93 using rvm i got this:

rvm install 1.9.3
Searching for binary rubies, this might take some time.
No binary rubies available for: redhat/6/x86_64/ruby-1.9.3-p551.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for redhat.
Unable to locate SystemId file. Is this system registered?

      

Our client does not have a registered system with redhat, so I set up a centos repository.

But how can I tell RVM to use this centos repository?

+2


source to share


2 answers


I was able to run this issue:

rvm autolibs read-only

      



This way rvm doesn't try to download dependencies from redhat. But it tells us what is missing, so we can install what is missing manually using yum install from the centos repository.

+4


source


RedHat uses the concept of a software collection to provide service packs for Ruby, Python, etc .: softwarecollections

In your case, they have a collection of Ruby193 and Ruby22 software .



On each page you will find instructions on how to use it.

0


source







All Articles