I have a Digital Ocean droplet running CentOS release 6.6 and I need to install Ruby and Capistrano on it. I've been following this idiot's guide;
but I've run into a problem at the command rvm install 2.1.0
.
Basically the install script tries to install the package libffi-devel
but cannot. Throws an error saying there's a Multilib version problem I need to resolve and suggesting some remedies. None of them seem to work and either I'm Googling the totally wrong things or this doesn't happen all that often as I cannot find a solution. Here's the screenshot;
What have I tried;
Yum check runs (takes ages but gets there eventually) and just returns;
Loaded plugins: fastestmirror check all
I've tried rerunning the command with the flag
--setopt=protected_multilib=false
as it suggests (or suggest not to do, I was desperate). I'm not sure what I'm doing wrong there syntactically but that throws the error;Unrecognized command line flag: '--setopt=protected_multilib=false' ( see: 'rvm usage' )
By trying the command
yum list libffi
it shows me the following (image below). Namely that there is an installed package and an available package. If I try to upgrade the installed package withyum update libffi.x86_64
it tells me No Packages marked for Update. If I try to remove the uninstalled package usingyum remove libffi.i686
it tells me Package(s) libffi.i686 available, but not installed. No Packages marked for removal.
- Updating everything with
yum update
, it tells me No Packages marked for Update.