I am trying to convert app from Rails 2.1 to Jruby. One of the required
gems is libxml-ruby but i get the following error when doing a gem
Building native extensions. This could take a while…
/opt/jruby-1.1.2/lib/ruby/1.8/mkmf.rb': JRuby does not support native extensions. Check wiki.jruby.org for alternatives. (NotImplementedError) from /opt/jruby-1.1.2/lib/ruby/1.8/mkmf.rb:57:inrequire’
ERROR: Error installing libxml-ruby:
ERROR: Failed to build gem native extension.
/opt/jruby-1.1.2/bin/jruby extconf.rb install libxml-ruby
I tried then building manually with ruby setup.rb in the directory but
ruby setup.rb install
dllext': uninitialized constant Setup::Installer::RBCONFIG (NameError) from setup.rb:856:inrubyextentions’
install_dir_ext' from setup.rb:1021:insend’
traverse' from setup.rb:1038:indive_into’
traverse' from setup.rb:1023:intraverse’
each' ... 6 levels... from setup.rb:808:inexec_install’
__send__' from setup.rb:1383:inrun_cli’
Any ideas here ?