Note that there are some explanatory texts on larger screens.

plurals
  1. POJRuby cannot use the adapter I installed
    primarykey
    data
    text
    <p>I used rvm to install jruby (1.5.6) and installed all my gems just fine. I can run simple rails tasks like </p> <p>script/runner 'puts 1'</p> <p>and the output is fine. AS SOON as I hit the database I get an error. I have uninstalled/reinstalled the activerecord-jdbcmysql-adapter gem, Jruby, rvm, JAVA_JDK. I have set the JRUBY_HOME and JAVA_HOME correctly, but it seems like nothing works. </p> <p>Any thoughts?</p> <p>As far as I know, I have Java JDK 1.6.0 and 1.5.0 installed. IT is currently pointed to 1.6.0. But since all the other gems installed correctly, I am assuming this is something else entirely.</p> <p>I am on EC2 with Ubuntu 10.04 (64 bit)</p> <p>Ruby 1.9.2 with RVM works great!</p> <p>nohup: ignoring input /opt/jruby/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/connection_adapters/abstract/connection_specification.rb:76:in <code>establish_connection': Please install the jdbcmysql adapter:</code>gem install activerecord-jdbcmysql-adapter<code>(no such file to load -- active_record/connection_adapters/jdbcmysql_adapter) (RuntimeError) from /opt/jruby/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/connection_adapters/abstract/connection_specification.rb:60:in</code>establish_connection' from /opt/jruby/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/connection_adapters/abstract/connection_specification.rb:55:in <code>establish_connection' from /opt/jruby/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/initializer.rb:438:in</code>initialize_database' from /opt/jruby/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/initializer.rb:141:in <code>process' from /opt/jruby/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/initializer.rb:113:in</code>run' from /home/tesmar/rails/statsheet/config/environment.rb:19 from /home/tesmar/rails/statsheet/config/environment.rb:39:in <code>require' from /opt/jruby/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/commands/runner.rb:39 from /opt/jruby/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/commands/runner.rb:3:in</code>require' from script/runner:3</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload