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

unable to install: dependency unf_ext 0.0.7.5 ERROR failed to build gem native extension #29

Open
twitterkb opened this issue Mar 8, 2019 · 1 comment

Comments

@twitterkb
Copy link

trying to migrate from xcpretty to trainer in order to parallelize unit tests on CI.

have very few other gems installed.

when i attempt to install trainer, it makes it through some portion of the gem installation, but then encounters the following.

Fetching unf_ext 0.0.7.5
Installing unf_ext 0.0.7.5 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /x/beta/.gems/gems/unf_ext-0.0.7.5/ext/unf_ext /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby -r ./siteconf20190307-81514-nw7co1.rb extconf.rb
checking for main() in -lstdc++... *** extconf.rb failed ***

not clear from the Readme.md or any other documentation here what pre-requisites are required prior to performing this gem install.

@pyby
Copy link

pyby commented Nov 9, 2019

I had the same issue on Mac OS Mojave and Xcode 11.2 and unf_ext 0.0.7.6.
To fix it, I downgraded Xcode command line tools to Xcode 10.3 and bundle install worked as expected.

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