Just installed jruby. Installed Rails 2.0.2. Verified with “gem
“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 wiki.jruby.org for alternatives. (NotImplementedError)
from E:/jruby-1.2.0/bin/…/lib/ruby/1.8/mkmf.rb:1:in `require’
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
jruby -S gem install activerecord-jdbcmysql-adapter