I’d like using postgres.bundle from JRuby
how to use it, here is the path :
‘/usr/lib/ruby/1.6/powerpc-darwin7.0/postgres.bundle’
if i write require ‘/usr/lib/ruby/1.6/powerpc-darwin7.0/postgres.bundle’
into my JRuby script i get a :
~/bin/jruby-0.5.3> zsh direct2macave.zsh
LD_LIBRARY_PATH= /usr/lib/ruby/1.6/powerpc-darwin7.0/postgres.bundle
CLASS_PATH=
:./lib/ant.jar:./lib/bsf.jar:./lib/gnu-regexp-1.1.4.jar:./lib/jakarta-or
o-2.0.6.jar:./lib/jruby.jar:./lib/junit.jar
/usr/lib/ruby/1.6/powerpc-darwin7.0/postgres.bundle: [1, 0] Invalid char
{0} in expression.
/usr/lib/ruby/1.6/powerpc-darwin7.0/postgres.bundle: [1, 0] Invalid char
{0} in expression.
/usr/lib/ruby/1.6/powerpc-darwin7.0/postgres.bundle:1: uninitialized
constant ? (NameError)
from /usr/lib/ruby/1.6/powerpc-darwin7.0/postgres.bundle:1
from direct2macave.rb:2:in 'require’
from direct2macave.rb:2
···
from :0
–
yt