rvm, I am trying to install ruby using
rvm install ruby on redhat server.
But I am getting the below error.
After seeing the error of
I tried installing it using
sudo yum install libyaml-devel.
But then I am getting error like No Package available.
How to resolve this?
With the help of some community I solved this.
Actually: RHEL7 (and 6) include
libyaml-devel in the Optional repository. The optional repository is available to any subscriber, but we have to configure it
Trying the below command we can get the version in my case it is
sudo yum install libyaml
Now try installing its devel version. In my case I needed to install
Using below command to install:
curl ftp://126.96.36.199/linux/centos/7/os/x86_64/Packages/libyaml-devel-0.1.4-11.el7_0.x86_64.rpm --output libyaml-devel-0.1.4-11.el7_0.x86_64.rpm sudo rpm -Uvh libyaml-devel-0.1.4-11.el7_0.x86_64.rpm
Now we can install any version of ruby
rvm install ruby-x.x.x
You need to login before you can make any post submission.