Forum: JRuby Newbie: Install mysql gem? jdbc the only way?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Faaa490ddfcd6871374f6b58ca21feab?d=identicon&s=25 Drub Drub (iamthedrub)
on 2009-04-02 01:55
Just installed jruby.  Installed Rails 2.0.2.  Verified with "gem
install list".

"gem install mysql" fails with the following error.

JRuby limited openssl loaded. gem install jruby-openssl for full
support.
http://wiki.jruby.org/wiki/JRuby_Builtin_OpenSSL
Building native extensions.  This could take a while...
ERROR:  Error installing mysql:
        ERROR: Failed to build gem native extension.

E:/jruby-1.2.0/bin/../bin/jruby.bat extconf.rb install mysql
E:/jruby-1.2.0/bin/../lib/ruby/1.8/mkmf.rb:7: JRuby does not support
native extensions. Ch
eck wiki.jruby.org for alternatives. (NotImplementedError)
        from E:/jruby-1.2.0/bin/../lib/ruby/1.8/mkmf.rb:1:in `require'
        from extconf.rb:1


Gem files will remain installed in
E:/jruby-1.2.0/lib/ruby/gems/1.8/gems/mysql-2.7 for ins
pection.
Results logged to
E:/jruby-1.2.0/lib/ruby/gems/1.8/gems/mysql-2.7/gem_make.out


I am not a Java person.  Just beginning with RoR.  What is needed to
install a gem in the jruby environment?

A web search produced no useful info.  It all referenced using a jdbc
version of mysql.  Is this the only way to use mysql?  I want this to be
simple, initially!  8-)

jruby -S gem install activerecord-jdbcmysql-adapter


Many thanks!
This topic is locked and can not be replied to.