FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

unable to run test with postgresql jdbc driver

 
Post new topic   Reply to topic    NetBeans Forums -> Ruby Users
View previous topic :: View next topic  
Author Message
dyrathror



Joined: 20 Aug 2008
Posts: 42

PostPosted: Thu Oct 23, 2008 4:32 am    Post subject: unable to run test with postgresql jdbc driver Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Ruby Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB