我想安装一个 gem,但我收到以下错误:
Building native extensions. This could take a while...
ERROR: Error installing twitter-login:
ERROR: Failed to build gem native extension.
C:/nwcloud/jruby-1.7.2/bin/jruby.exe extconf.rb
NotImplementedError: C extension support is not enabled. Pass -Xcext.enabled=true to JRuby or set JRUBY_OPTS or modify .jrubyrc to enable.
我也用同样的问题阅读了这个问题,但我什至不知道如何使用三个选项启用支持,因为我不知道如何传递-Xcext.enabled=true
给 JRuby 或设置 JRUBY_OPTS 或修改 .jrubyrc 以启用。
有人可以帮我解决我的初学者问题吗?