Falha ao criar extensão nativa de gem com JRuby

Eu mudo a versão ruby ​​do ruby ​​1.9.3-p125 para o JRuby 1.7.0-preview1 comrubi-construir. Quando eu executojruby -S bundle install no meu projeto, existem alguns erros abaixo,

...
Using bson (1.6.2) 
Installing bson_ext (1.6.2) with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.

        /Users/joshchang/.rbenv/versions/jruby-1.7.0-preview1/bin/jruby extconf.rb 
NotImplementedError: C extension support is not enabled. Pass -Xcext.enabled=true to JRuby or set JRUBY_OPTS or modify .jrubyrc to enable.

   (root) at /Users/joshchang/.rbenv/versions/jruby-1.7.0-preview1/lib/ruby/shared/mkmf.rb:8
  require at org/jruby/RubyKernel.java:991
   (root) at /Users/joshchang/.rbenv/versions/jruby-1.7.0-preview1/lib/ruby/shared/rubygems/custom_require.rb:1
   (root) at extconf.rb:1
...

Existe alguma sugestão? Obrigado.

questionAnswers(2)

yourAnswerToTheQuestion