postgres-pr driver does not work with JRuby
-------------------------------------------

                 Key: JRUBY-1996
                 URL: http://jira.codehaus.org/browse/JRUBY-1996
             Project: JRuby
          Issue Type: Bug
          Components: ActiveRecord-JDBC
    Affects Versions: JRuby 1.0.3, JRuby 1.0.2
            Reporter: Erno Mononen


Please see http://www.netbeans.org/issues/show_bug.cgi?id=122345 for more info, 
here's the original issue decription:

Install postgres-pr gem using Gems tool, and then try to follow the Weblog 
tutorial at
http://www.netbeans.org/kb/60/ruby/rapid-ruby-weblog.html, using postgres as 
the target database rather than mysql.

When you try to apply the migration, you get the following error:

rake aborted!
uninitialized constant PostgresPR::Connection::UNIXSocket
/export/home/dv136566/netbeans-6.0rc1/ruby1/jruby-1.0.2/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:477:in
`const_missing'
/export/home/dv136566/netbeans-6.0rc1/ruby1/jruby-1.0.2/lib/ruby/gems/1.8/gems/postgres-pr-0.4.0/lib/postgres-pr/connection.rb:140:in
`establish_connection'
/export/home/dv136566/netbeans-6.0rc1/ruby1/jruby-1.0.2/lib/ruby/gems/1.8/gems/postgres-pr-0.4.0/lib/postgres-pr/connection.rb:25:in
`initialize'
/export/home/dv136566/netbeans-6.0rc1/ruby1/jruby-1.0.2/lib/ruby/gems/1.8/gems/postgres-pr-0.4.0/lib/postgres-pr/postgres-compat.rb:23:in
`new'
/export/home/dv136566/netbeans-6.0rc1/ruby1/jruby-1.0.2/lib/ruby/gems/1.8/gems/postgres-pr-0.4.0/lib/postgres-pr/postgres-compat.rb:23:in
`initialize'
/export/home/dv136566/netbeans-6.0rc1/ruby1/jruby-1.0.2/lib/ruby/gems/1.8/gems/activerecord-1.15.5/lib/active_record/connection_adapters/postgresql_adapter.rb:23:in
`new'

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to