Skip to content
This repository has been archived by the owner on Oct 27, 2022. It is now read-only.

Can't install json 1.8.0 #427

Open
camscampbell opened this issue Sep 30, 2018 · 1 comment
Open

Can't install json 1.8.0 #427

camscampbell opened this issue Sep 30, 2018 · 1 comment

Comments

@camscampbell
Copy link

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?

@ttscoff
Copy link
Owner

ttscoff commented Sep 30, 2018 via email

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

2 participants