Skip to content

Instantly share code, notes, and snippets.

@RyanMorgan
Created December 22, 2015 22:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RyanMorgan/dbf9feed77cca1e9aca0 to your computer and use it in GitHub Desktop.
Save RyanMorgan/dbf9feed77cca1e9aca0 to your computer and use it in GitHub Desktop.
Bundle error
| => bundle install
Fetching gem metadata from https://rubygems.org/...........
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Resolving dependencies....................................................................................................
Using rake 10.4.2
Using RedCloth 4.2.9
Using activesupport 2.2.2
Using actionpack 2.2.2
Using actionmailer 2.2.2
Using activerecord 2.2.2
Using activeresource 2.2.2
Using addressable 2.2.6
Using archive-tar-minitar 0.5.2
Using builder 3.2.2
Using mime-types 1.25
Using xml-simple 1.1.5
Using aws-s3 0.6.2
Using highline 1.6.9
Using net-ssh 2.9.1
Using net-scp 1.2.1
Using net-sftp 2.1.2
Using net-ssh-gateway 1.2.0
Using capistrano 2.5.4
Using cgi_multipart_eof_fix 2.5.0
Using chronic 0.10.2
Using ci_reporter 1.9.0
Using coderay 1.1.0
Using hoe 3.14.2
Using color 1.4.0
Using hashie 2.1.2
Using multi_json 1.11.2
Using multi_xml 0.5.5
Using httparty 0.11.0
Installing json 1.8.3 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /Users/boorad420/.rvm/gems/ruby-1.8.7-p374/gems/json-1.8.3/ext/json/ext/generator
/Users/boorad420/.rvm/rubies/ruby-1.8.7-p374/bin/ruby -r ./siteconf20151222-41900-fxa2i-0.rb extconf.rb
creating Makefile
current directory: /Users/boorad420/.rvm/gems/ruby-1.8.7-p374/gems/json-1.8.3/ext/json/ext/generator
make clean
current directory: /Users/boorad420/.rvm/gems/ruby-1.8.7-p374/gems/json-1.8.3/ext/json/ext/generator
make
/usr/local/Cellar/gcc48/4.8.4/bin/gcc-4.8 -I. -I/Users/boorad420/.rvm/rubies/ruby-1.8.7-p374/lib/ruby/1.8/i686-darwin15.0.0 -I/Users/boorad420/.rvm/rubies/ruby-1.8.7-p374/lib/ruby/1.8/i686-darwin15.0.0 -I. -DJSON_GENERATOR -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -I/usr/local/opt/libyaml/include -I/usr/local/opt/readline/include -I/usr/local/opt/libksba/include -I/usr/local/opt/openssl098/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -c generator.c
In file included from /Users/boorad420/.rvm/rubies/ruby-1.8.7-p374/lib/ruby/1.8/i686-darwin15.0.0/ruby.h:40:0,
from ../fbuffer/fbuffer.h:5,
from generator.c:1:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/stdlib.h:177:188: error: expected ',' or ';' before '__TVOS_PROHIBITED'
int system(const char *) __DARWIN_ALIAS_C(system) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0,__MAC_NA,__IPHONE_2_0,__IPHONE_8_0, "Use posix_spawn APIs instead.") __WATCHOS_PROHIBITED __TVOS_PROHIBITED;
^
In file included from /Users/boorad420/.rvm/rubies/ruby-1.8.7-p374/lib/ruby/1.8/i686-darwin15.0.0/ruby.h:40:0,
from ../fbuffer/fbuffer.h:5,
from generator.c:1:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/stdlib.h:267:186: error: expected ',' or ';' before '__TVOS_PROHIBITED'
int daemon(int, int) __DARWIN_1050(daemon) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0, __MAC_10_5, __IPHONE_2_0, __IPHONE_2_0, "Use posix_spawn APIs instead.") __WATCHOS_PROHIBITED __TVOS_PROHIBITED;
^
make: *** [generator.o] Error 1
make failed, exit code 2
Gem files will remain installed in /Users/boorad420/.rvm/gems/ruby-1.8.7-p374/gems/json-1.8.3 for inspection.
Results logged to /Users/boorad420/.rvm/gems/ruby-1.8.7-p374/extensions/x86-darwin-15/1.8/json-1.8.3/gem_make.out
An error occurred while installing json (1.8.3), and Bundler cannot continue.
Make sure that `gem install json -v '1.8.3'` succeeds before bundling.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment