我使用的是Ray (https://github.com/Mon-Ouie/ray),但我似乎无法让它在Windows上与JRuby一起工作。作者说他用JRuby和Rubinius测试了它,所以我试了一试。它显然不起作用,因为需要原生扩展。有没有办法让它正常工作?
--> jgem install ray
Building native extensions. This could take a while...
ERROR: Error installing ray:
ERROR: Failed to build gem native extension.
c:/jruby-1.6.7/bin/jruby.exe extconf.rb
WARNING: JRuby does not support native extensions or the `mkmf' library very well.
Check http://kenai.com/projects/jruby/pages/Home for alternatives.
checking for GL/glxext.h... no
checking for X11/extensions/Xrandr.h... no
checking for main() in -lXrandr... no
checking for main() in -lX11... no
*** extconf.rb failed ***发布于 2012-03-28 01:36:56
RUBY_PLATFORM包含正确的依赖项。它正在寻找RUBY_PLATFORM =~ /mingw/,
RUBY_PLATFORM as java。通过运行ruby -e 'puts RUBY_PLATFORM'来试用它。您可以尝试更改extconf.rb以与/mingw|java/.https://stackoverflow.com/questions/9894475
复制相似问题