An error occured while installing ffi (1.9.10) in centos7 OPNFV arno file

Installing the plugin 'vagrant-centos7_fix'. It may take a few minutes ... Bundler, the underlying system Vagrant uses to install plugins, reported a bug. The error is shown below. These errors are usually caused by improper plugin installation or transient networking issues. Error from Bundler:

An error occurred while installing ffi (1.9.10) and Bundler cannot continue. Make sure to do gem install ffi -v '1.9.10'

well before tying. Gem :: RemoteFetcher :: FetcherError: Error :: ETIMEOUT: Connection timed out - connection (2) ( https://rubygems.org/gems/ffi-1.9.10.gem )

I tried to access the following link https://rubygems.org/gems/ffi-1.9.10.gem on Windows machine there also I get timeout error:

Can anyone suggest any attribute to install the ffi = 1.9.10 component.

+3


source to share


4 answers


I think you are missing the ruby ​​dev package. Install it.



apt-get install ruby-dev

+24


source


The same error occurred when installing ffi (1.9.10) on Fedora24. Log file information: error: / usr / lib / rpm / redhat / redhat-hardened-cc1 This file and directory is missing .

And then I install the package redhat-rpm-config

using the command:



sudo dnf install redhat-rpm-config

As the answer said about this question g ++ error: / usr / lib / rpm / redhat / redhat-hardened-cc1 This file and directory is missing

+2


source


I had the same error while installing some kind of vagrant server. In my case, that was enough to get the new version of Vagrant installed again - I had the old version on my machine.

0


source


I had a slightly similar problem.

An error occurred while installing ffi (1.9.10) and Bundler cannot continue. Make sure to do gem install ffi -v '1.9.10'

well before tying.

Gem :: RemoteFetcher :: FetchError: SSL_connect returned = 1 errno = 0 state = SSLv3 read server B certificate: certificate validation failed ( https://rubygems.org/gems/ffi-1.9.10-x86-mingw32.gem )

I was trying to run vagrant plugin install vagrant-hostmanager. It won't work. I used the 64-pc-cygwin emulator shell on Windows 7. I tried running the command in the Git Bash emulator shell and it installed without issue.

0


source







All Articles