Closed orsenthil closed 8 years ago
Watching... same problem here. Wish I could help.
I had the same error but for an s3 plugin. The log (/Users/charleslaw/.vagrant.d/gems/gems/ffi-1.9.10/ext/ffi_c/mkmf.log
) said it could not find ffi.h, so I used brew to uninstall and re-install (and re-link) it. Then everything worked (I didn't set any env variables or anything. This may be useful:
[charleslaw@~/src/everything] (feature/vagrant-packer) $ brew remove libffi
Uninstalling /usr/local/Cellar/libffi/3.0.13... (14 files, 356.2K)
[charleslaw@~/src/everything] (feature/vagrant-packer) $ brew install libffi
==> Downloading https://homebrew.bintray.com/bottles/libffi-3.0.13.mavericks.bottle.tar.gz
Already downloaded: /Library/Caches/Homebrew/libffi-3.0.13.mavericks.bottle.tar.gz
==> Pouring libffi-3.0.13.mavericks.bottle.tar.gz
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local.
Some formulae require a newer version of libffi.
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:
LDFLAGS: -L/usr/local/opt/libffi/lib
==> Summary
🍺 /usr/local/Cellar/libffi/3.0.13: 14 files, 356.3K
[charleslaw@~/src/everything] (feature/vagrant-packer) $ brew link libffi
Warning: libffi is keg-only and must be linked with --force
Note that doing so can interfere with building software.
[charleslaw@~/src/everything] (feature/vagrant-packer) $ brew link libffi --force
Linking /usr/local/Cellar/libffi/3.0.13... 9 symlinks created
and FYI
ruby --version
ruby 2.0.0p481 (2014-05-08 revision 45883) [universal.x86_64-darwin13]
On Latest Ruby 2.3.1
When I try to install vagrant-hostmanager. I am running into this problem