在JRuby 1.7.13中缺少lib / native / include / ruby​​ / ruby​​.h和其他头文件

时间:2014-08-13 15:34:35

标签: ruby rubygems jruby

我正在尝试在Windows上的JRuby 1.7.13上安装ORI8 gem。

我收到一条错误消息:

Building native extensions.  This could take a while...
ERROR:  Error installing ruby-oci8-2.1.7.gem:
        ERROR: Failed to build gem native extension.

Use RbConfig instead of obsolete and deprecated Config.

mkmf.rb can't find header files for ruby at PATH_OF_JRUBY_installation/lib/native/include/ruby/ruby.h

我已检入PATH_OF_JRUBY_installation/lib文件夹,并且没有原生文件夹和子文件夹。

如何解决上述问题?

0 个答案:

没有答案