Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
OpenShift入门页面说要运行
sudo rhn-channel --add --channel=rhel-x86_64-server-optional-6
为了在 RHEL 6 中安装 rubygems。但是当我运行该命令时,我得到了输出
An error has occurred: <type 'exceptions.TypeError'> See /var/log/up2date for more information
我该如何解决?
改为运行此命令:
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 。
只需尝试: yum install rubygems 如果您的目标是只安装 rubygems 然后 rhc
那应该工作:)