jruby-1.4.0/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/tasks/databases.rake expects 
"postgresql," not "jdbcpostgresql"
------------------------------------------------------------------------------------------------------------------

                 Key: JRUBY-4550
                 URL: http://jira.codehaus.org/browse/JRUBY-4550
             Project: JRuby
          Issue Type: Bug
          Components: Ruby 1.8.7
    Affects Versions: JRuby 1.4
         Environment: Ubuntu 9.10, JRuby 1.4, Postgresql 8.3, jdbcpostgresql
            Reporter: James Lavin
            Priority: Minor


1) Run "jruby -S rake spec --trace"

2) Error:
...
** Execute db:test:purge
rake aborted!
Task not supported by 'jdbcpostgresql'
/home/james/Tech/Ruby/JRuby/jruby-1.4.0/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/tasks/databases.rake:384
...

3) I fixed the problem by changing rails-2.3.5/lib/tasks/databases.rake line 
364 from:
      when "postgresql"
to:
      when "postgresql","jdbcpostgresql"

I don't have the chops to analyze the gem code, but I wonder whether 
jdbcpostgresql should be reporting itself as "postgresql."

-- 
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