You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 17, 2018. It is now read-only.
As the title says, the jar from jdbc-postgres is never loaded in do_postgres.
The file is loaded through require, but the subsequent java_import will always fail, because Jdbc::Postgres::load_driver never gets called. jdbc-postgres provides the module with the method to load it, but it is not used. Thus using do_postgres under JRuby will cause errors about not finding org.postgres.Driver from the java_import.
As the title says, the jar from jdbc-postgres is never loaded in do_postgres.
The file is loaded through require, but the subsequent java_import will always fail, because Jdbc::Postgres::load_driver never gets called. jdbc-postgres provides the module with the method to load it, but it is not used. Thus using do_postgres under JRuby will cause errors about not finding org.postgres.Driver from the java_import.
A simple case of:
DataMapper.setup :default, {
:adapter => 'postgres',
:host => 'localhost',
:database => 'GenesisDevelopment',
:user => 'postgres',
}
under JRuby will cause this issue.
The text was updated successfully, but these errors were encountered: