-
Notifications
You must be signed in to change notification settings - Fork 159
Can't install json 1.8.0 #427
Description
My Slogger installation broke either with XCode update or upgrade to High Sierra. I'm trying to run bundle install and can't get passed this...
`make failed, exit code 2
Gem files will remain installed in
/var/folders/wr/f6hdq7c15zq76k2ybjx5nd000000gn/T/bundler20180930-43288-1k4stu4json-1.8.0/gems/json-1.8.0
for inspection.
Results logged to
/var/folders/wr/f6hdq7c15zq76k2ybjx5nd000000gn/T/bundler20180930-43288-1k4stu4json-1.8.0/extensions/universal-darwin-17/2.3.0/json-1.8.0/gem_make.out
An error occurred while installing json (1.8.0), and Bundler cannot
continue.
Make sure that gem install json -v '1.8.0' --source 'https://rubygems.org/'
succeeds before bundling.
`
If I try gem install json -v '1.8.0' --source 'https://rubygems.org/'
I get this
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/include/ruby-2.3.0/ruby/intern.h:798:9: note: macro 'rb_str_new' defined here #define rb_str_new(str, len) __extension__ ( \
^
In file included from generator.c:1:
./../fbuffer/fbuffer.h:175:11: warning: incompatible pointer to integer conversion initializing 'VALUE' (aka 'unsigned long') with an expression of type 'VALUE (const char *, long)' (aka 'unsigned long (const char *, long)') [-Wint-conversion]
VALUE result = rb_str_new(FBUFFER_PAIR(fb));
^ ~~~~~~~~~~
1 warning and 1 error generated.
make: *** [generator.o] Error 1
make failed, exit code 2
Gem files will remain installed in /Library/Ruby/Gems/2.3.0/gems/json-1.8.0 for inspection.
Results logged to /Library/Ruby/Gems/2.3.0/extensions/universal-darwin-17/2.3.0/json-1.8.0/gem_make.out`
Any ideas?