Installing json 1.8.6 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /tmp/bundler20170915-9009-cc0g2sjson-1.8.6/gems/json-1.8.6/ext/json/ext/generator /usr/bin/ruby2.3 -r ./siteconf20170915-9009-1lbtrll.rb extconf.rb mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h
extconf failed, exit code 1
Gem files will remain installed in /tmp/bundler20170915-9009-cc0g2sjson-1.8.6/gems/json-1.8.6 for inspection. Results logged to /tmp/bundler20170915-9009-cc0g2sjson-1.8.6/extensions/x86-linux/2.3.0/json-1.8.6/gem_make.out Using minitest 5.10.3 Using thread_safe 0.3.6 Using builder 3.2.3 Using erubis 2.7.0 Using mini_portile2 2.2.0 Using rack 1.6.8 Using mime-types-data 3.2016.0521 Using arel 6.0.4 Installing debug_inspector 0.0.3 with native extensions
我输入这个命令会报这个错。。。 ERROR: While executing gem ... (OptionParser::MissingArgument) missing argument: -v
其中有行报错是 Failed to build gem native extension
还是弹出的我上面写的两行代码
请问在 Linux 下怎么下哇