Building native extensions. This could take a while...
ERROR: Error installing json:
ERROR: Failed to build gem native extension
/usr/bin/ruby2.0 extconf.rb
mkmf.rb can't find header files for ruby at /usr/lib64/ruby/include/ruby.h
the solution is:
zypper install ruby-devel