After playing around for another 4 hours, i got a solution for how to get merb at least to do it's migrations with do_postgres and jdbc. The problem i've been having with DM+jdbc+postgres+merb was that merb keept telling me that it didn't find Merb.root / org.postgresql.Driver.
I "fixed" that by changing in do_postgres/lib/do_postgres.rb:18 the import to "include_class". Now i don't get that error and migration is working. My databases.yml just looks like from c-MRI postgresql usage, so nothing different there. The only question that remained, is it necessarry to have do_postgres, do_jdbc AND jdbc-postgres: YES. Since do_postgres requires do_jdbc and jdbc-postgres if it is running on jruby. Thanks to myself so far! ;) On May 11, 8:44 pm, fbettag <[email protected]> wrote: > Hey there, > > i was looking all day to get jdbc and postgresql at least so far that > i can start developing with it, but i didn't find any up2date news for > this topic. > can somebody enlighten me? > > some more questions that i couldn't find answers to: > - do i need do_jdbc, jdbc-postgres AND do_postgres? > - are the timezone problems the only that still persist? > - just a small hint for how to use databases.yml in merb to get it > working.. i was playing around but had no luck. > > best regards! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "DataMapper" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/datamapper?hl=en -~----------~----~----~----~------~----~------~--~---
