Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install Fails on Vagrant 1.3.5 (ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)) #26

Open
jbpadgett opened this issue Nov 8, 2013 · 1 comment

Comments

@jbpadgett
Copy link

I was getting a similar error trying to install vagrant-chef-zero as a Vagrant plugin using Vagrant 1.3.5 on OSX 10.8.5 and XCode 5.01.

/Applications/Vagrant/embedded/lib/ruby/1.9.1/rubygems/installer.rb:562:in rescue in block in build_extensions':
ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)
/Applications/Vagrant/embedded/bin/ruby extconf.rb
creating Makefile
make
make: *** No rule to make target/Applications/Vagrant/embedded/include/ruby-1.9.1/x86_64-darwin12.3.0/ruby/config.h', needed by `yajl.o'. Stop.

I found a workaround solve on the Vagrant Issue #2402 that allows the install to work.
See the Vagrant issue here: hashicorp/vagrant#2402

sudo vagrant plugin install vagrant-chef-zero && sudo chown -R "$USER":staff ~/.vagrant.d/*

I am using OSX 10.8.5
XCode 5.01
Vagrant 1.3.5
VirtualBox 4.2.18

@andrewgross
Copy link
Contributor

Thanks for the heads up, I will check this out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants