I am trying to install latest of ruby through RVM. I could not install install as it requires libyaml-devel and libffi-dev. When ever i try to install them i get error that no package found
[root@dev workspace]# rvm requirements
Checking requirements for redhat.
Enabling optional repository
Username: ^C
User interrupted process.
Installing requirements for redhat.
Installing required packages: libyaml-devel, libffi-devel..
Error running 'requirements_centos_libs_install libyaml-devel libffi-devel',
showing last 15 lines of /usr/local/rvm/log/1467891146/package_install_libyaml-devel_libffi-devel.log
+ __rvm_try_sudo yum install -y libyaml-devel libffi-devel
+ typeset -a command_to_run
+ typeset sudo_path sbin_path missing_paths
+ command_to_run=("$@")
+ (( UID == 0 ))
+ yum install -y libyaml-devel libffi-devel
Failed to set locale, defaulting to C
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is registered to Red Hat Subscription Management, but is not receiving updates. You can use subscription-manager to assign subscriptions.
Setting up Install Process
No package libyaml-devel available.
No package libffi-devel available.
Error: Nothing to do
+ return 1
+ return 1