如何使用centos repo在RHL7上安装rvm

如何使用centos repo在RHL7上安装rvm,centos,rvm,redhat,Centos,Rvm,Redhat,如何使用centos repo在RHL7上安装rvm(ruby) 我知道如果我们使用的是centos存储库,我们应该使用centos而不是RedHat,但我们有一个需要RedHat的专有软件 当我尝试使用rvm安装ruby 1.93时,我发现: rvm install 1.9.3 Searching for binary rubies, this might take some time. No binary rubies available for: redhat/6/x86_64/ruby-

如何使用centos repo在RHL7上安装rvm(ruby)

我知道如果我们使用的是centos存储库,我们应该使用centos而不是RedHat,但我们有一个需要RedHat的专有软件

当我尝试使用rvm安装ruby 1.93时,我发现:

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?
我们的客户端没有使用redhat注册的系统,所以我配置了centos存储库


但是我如何告诉RVM使用这个centos存储库呢?

RedHat使用软件集合的概念来提供Ruby、Python等的更新包:

对于您的情况,他们有和的软件集合


在每一页上,您都可以找到如何使用它的说明。

我在运行时解决了这个问题:

rvm autolibs read-only
这样,rvm就不会尝试从redhat下载依赖项。但它告诉我们缺少什么,因此我们可以从centos存储库使用yum install手动安装缺少的内容