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

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Drub D. (Guest)
on 2009-04-02 03: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
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 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
Results logged to

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.