Rubygems 在Gem Bundle安装上安装JSON时出错

Rubygems 在Gem Bundle安装上安装JSON时出错,rubygems,Rubygems,我正在尝试在OSX上安装Ruby Gem包。尝试安装json包时失败。这个错误意味着什么,我如何尝试修复它并完成捆绑包安装 An error occurred while installing json (1.7.7), and Bundler cannot continue. Make sure that gem install json -v '1.7.7' succeeds before bundling. MacBook-Pro:ticle_engine Stu$ gem install

我正在尝试在OSX上安装Ruby Gem包。尝试安装json包时失败。这个错误意味着什么,我如何尝试修复它并完成捆绑包安装

An error occurred while installing json (1.7.7), and Bundler cannot continue.
Make sure that gem install json -v '1.7.7' succeeds before bundling.
MacBook-Pro:ticle_engine Stu$ gem install json -v '1.7.7'
Building native extensions.  This could take a while...
ERROR:  Error installing json:
ERROR: Failed to build gem native extension.

current directory: /Users/Stu/.rvm/gems/ruby-2.3.0/gems/json-1.7.7/ext/json/ext/generator
/Users/Stu/.rvm/rubies/ruby-2.3.0/bin/ruby -r ./siteconf20160518-37614-1sz34p0.rb extconf.rb
creating Makefile

current directory: /Users/Stu/.rvm/gems/ruby-2.3.0/gems/json-1.7.7/ext/json/ext/generator
make "DESTDIR=" clean

current directory: /Users/Stu/.rvm/gems/ruby-2.3.0/gems/json-1.7.7/ext/json/ext/generator
make "DESTDIR="
compiling generator.c
In file included from generator.c:1:
./../fbuffer/fbuffer.h:175:47: error: too few arguments provided to function-like macro invocation
VALUE result = rb_str_new(FBUFFER_PAIR(fb));
                                          ^
/Users/Stu/.rvm/rubies/ruby-2.3.0/include/ruby-2.3.0/ruby/intern.h:797: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)' [-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

我相信这是重复的,我试图安装的JSON版本与我正在运行的Ruby版本不兼容。由于在正确版本上安装Open SSL时出现一些问题,我进行了更新