How do I install gems on JRuby?
Tried
jgem install mysql
jgem install mysqlplus
and others and I get something like
JRuby limited openssl loaded. http://jruby.org/openssl
gem install jruby-openssl for full support.
Building native extensions. This could take a while…
ERROR: Error installing mysql:
ERROR: Failed to build gem native extension.
c:/jruby-1.5.0.RC1/bin/jruby.exe extconf.rb
WARNING: JRuby does not support native extensions or the mkmf' library. Check http://kenai.com/projects/jruby/pages/Home for alternatives. extconf.rb:20: undefined method
with_config’ for main:Object
(NoMethodError)
Gem files will remain installed in
c:/jruby-1.5.0.RC1/lib/ruby/gems/1.8/gems/mysqlplus-0.1.1 for
inspection.
Results logged to
C:/jruby-1.5.0.RC1/lib/ruby/gems/1.8/gems/mysqlplus-0.1.1/ext/gem_make.out