Sorry for posting my question here. I’m fresher in this. Please help me
to run this command.
I’m notable to install json using gem, even gem is install properly.
Every time I’m getting same error.
Might be that’s an silly mistake please help me out.
Thanks in advance.
““gem install json -v ‘1.8.6’””
Building native extensions. This could take a while…
ERROR: Error installing json:
ERROR: Failed to build gem native extension.
/usr/bin/ruby2.3 -r ./siteconf20170222-14108-ee0y5j.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 /var/lib/gems/2.3.0/gems/json-1.8.6
Results logged to