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

Error in json-1.8.2.gem building #26

Closed
engmsaleh opened this issue Feb 2, 2015 · 4 comments
Closed

Error in json-1.8.2.gem building #26

engmsaleh opened this issue Feb 2, 2015 · 4 comments

Comments

@engmsaleh
Copy link

Here is the trace

Fetching: json-1.8.2.gem (100%)
Building native extensions. This could take a while...
ERROR: Error installing fastlane:
ERROR: Failed to build gem native extension.

/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby extconf.rb

creating Makefile

make "DESTDIR="
compiling generator.c
In file included from generator.c:1:
In file included from ./../fbuffer/fbuffer.h:5:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/include/ruby-2.0.0/ruby.h:33:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/include/ruby-2.0.0/ruby/ruby.h:24:10: fatal error: 'ruby/config.h' file not found

include "ruby/config.h"

     ^

1 error generated.
make: *** [generator.o] Error 1

Gem files will remain installed in /Library/Ruby/Gems/2.0.0/gems/json-1.8.2 for inspection.
Results logged to /Library/Ruby/Gems/2.0.0/gems/json-1.8.2/ext/json/ext/generator/gem_make.out

@engmsaleh
Copy link
Author

I have solved it, it was a matter of updating my Ruby version using RVM and all went good

@KrauseFx
Copy link
Member

KrauseFx commented Feb 2, 2015

Great to hear 👍

@KrauseFx KrauseFx closed this as completed Feb 2, 2015
@vidurpunj
Copy link

I have the same problem can you tell me to which Ruby version you have updated to.

@KrauseFx
Copy link
Member

Which OS are you using? Can you run ruby -v?

KrauseFx added a commit that referenced this issue Mar 7, 2016
Basic command line interface for CredentialsManager
KrauseFx pushed a commit that referenced this issue Mar 7, 2016
When parsing "adb devices" output, reject lines from the daemon startup
@fastlane fastlane locked and limited conversation to collaborators Sep 22, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants