Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > ruby and jRuby and PostgreSQL

Reply
Thread Tools

ruby and jRuby and PostgreSQL

 
 
Yvon Thoraval
Guest
Posts: n/a
 
      03-06-2004

i'm able to connect to a PostgreSQL database using ruby or java.

but get a run time error with jruby :

(eval):4:in 'getConnection': Native Exception: 'class
java.sql.SQLException'; Message: No suitable driver; StackTrace:
java.sql.SQLException: No suitable driver (RuntimeError)


even if i do set both LD_LIBRARY_PATH and java.library.path then, i
wonder if i could make use os require 'posgres' into my jruby script as
with ruby ?

but, it seems jruby knows nothing about the ruby install ???
--
yt
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
JRubyHub.com: The hub to all JRuby and JRuby on Rails (JRoR)resources... sbaltagi@gmail.com Ruby 0 12-15-2007 07:28 PM
JRubyHub.com: The hub to all JRuby and JRuby on Rails (JRoR)resources... Slim Baltagi Java 0 12-15-2007 07:26 PM
[ANN] [JRuby] Fast Debugger for JRuby Martin Krauskopf Ruby 0 11-11-2007 10:47 PM
[JRuby] JRuby perf questions answered Charles Oliver Nutter Ruby 7 11-01-2007 05:11 AM
Any JRUBY programmers out there? Problems specifying RUBYLIB with jruby. Ronald Fischer Ruby 2 05-16-2007 09:34 PM



Advertisments