【问题标题】:Getting started with Openshift and RHEL 6Openshift 和 RHEL 6 入门
【发布时间】:2012-08-06 05:44:13
【问题描述】:

OpenShift Getting Started 页面说要运行

sudo rhn-channel --add --channel=rhel-x86_64-server-optional-6

为了在 RHEL 6 中安装 ruby​​gems。但是当我运行该命令时,我得到了输出

An error has occurred:
<type 'exceptions.TypeError'>
See /var/log/up2date for more information

我该如何解决这个问题?

【问题讨论】:

    标签: rubygems openshift rhel6


    【解决方案1】:

    改为运行此命令:

    yum-config-manager --enable rhel-6-server-optional-rpms
    

    更多详情请见http://web.archive.org/web/20120707214814/http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/entitlements-and-yum.html

    【讨论】:

    • 我已经运行了这个命令,但是 rubygems 仍然不可用。我错过了什么?
    【解决方案2】:

    只需尝试:yum install ruby​​gems 如果您的目标是只安装 ruby​​gems 然后 rhc

    应该可以的:)

    【讨论】:

      猜你喜欢
      • 2021-01-09
      • 1970-01-01
      • 1970-01-01
      • 2020-10-31
      • 1970-01-01
      • 2021-12-13
      • 2016-10-20
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多