| View previous topic :: View next topic |
| Author |
Message |
dyrathror
Joined: 20 Aug 2008 Posts: 42
|
Posted: Thu Oct 23, 2008 4:32 am Post subject: unable to run test with postgresql jdbc driver |
|
|
Hi all,
I am using JRuby 1.1.4 with NB6.5 Dev 200810160201 and use a postgresql 8.3 database via jdbc driver.
This works fine when I do: rake db:migrate
but complains that it cannot load the org.postgresql.Driver class when I try to run a test.
The database config looks like
| Code: |
test:
adapter: jdbc
driver: org.postgresql.Driver
url: jdbc:postgresql://localhost/rubydb_test
encoding: utf-8
username: ruby
password: ruby
host: localhost
port: 5432
|
Any suggestions what I am doing wrong?
Thanks,
D. _________________ If all else fails, read the manuals. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|
|