Phyxx
Phyxx

Reputation: 16085

Getting started with Openshift and RHEL 6

The OpenShift Getting Started page says to run

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

in order to install rubygems in RHEL 6. But when I run that command, I get the output

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

How do I fix this?

Upvotes: 0

Views: 3137

Answers (2)

ANIL MIRGE
ANIL MIRGE

Reputation: 1863

Simply try : yum install rubygems if you goal is to just install rubygems and then rhc

That should work :)

Upvotes: 1

Phyxx
Phyxx

Reputation: 16085

Run this command instead:

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

See 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 for more details.

Upvotes: 2

Related Questions