Failed to build gem native extension with JRuby

后端 未结 2 1640
闹比i
闹比i 2021-01-07 03:03

I change the ruby version from ruby 1.9.3-p125 to JRuby 1.7.0-preview1 with ruby-build. When I execute jruby -S bundle install on my project, there are some err

相关标签:
2条回答
  • 2021-01-07 03:16

    just read the error message and try as it says: jruby -Xcext.enabled=true -S bundle install although it probably won't work - generally C extensions are not supported on JRuby.

    0 讨论(0)
  • 2021-01-07 03:30

    JRUBY_OPTS="-Xcext.enabled=true" gem install <your gem> should work!

    0 讨论(0)
提交回复
热议问题