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!
on 2009-04-02 01:55