Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > try to connect Ruby to oracle

Reply
Thread Tools

try to connect Ruby to oracle

 
 
andre hartawan
Guest
Posts: n/a
 
      12-08-2006
Need an advice please,

I have an error while trying to connect ruby to
oracle.
u can see the error below.What should I do ?

E:\ruby\bin>ruby -r oci8 -e "OCI8.new('hr', 'hr',
'//10.10.xx.xx:1521/oradbx').
exec('select * from JOBS') do |r| puts r.join(',');
end"
E:/ruby/lib/ruby/site_ruby/1.8/oci8.rb:49:in `create':
ERROR (OCIError)
from E:/ruby/lib/ruby/site_ruby/1.8/oci8.rb:49

thnx
andre





__________________________________________________ __________________________________
Want to start your own business?
Learn how on Yahoo! Small Business.
http://smallbusiness.yahoo.com/r-index

 
Reply With Quote
 
 
 
 
David Vallner
Guest
Posts: n/a
 
      12-08-2006
--------------enig59A0B994BA94D68F14E503EC
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

andre hartawan wrote:
> [snip thread hijack]


Please, don't use the "Reply" function of your email client to start
talking about a topic completely different than the one of the post
you're replying to, but write a new message from scratch. It Makes
Things Confusing (tm).

Disclaimer: if it's the apparent fault of my client and noone else sees
this as an (accidental) hijack of Francis Cianfrocca's about BER, ignore
this message.

David Vallner


--------------enig59A0B994BA94D68F14E503EC
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)

iD8DBQFFed68y6MhrS8astoRAmkmAJ9JZ9mroDm2AtYHkHsP7j Afq1MBtACfXOiP
2KCD8GO5SrmRmm56PGKI2S0=
=CvMS
-----END PGP SIGNATURE-----

--------------enig59A0B994BA94D68F14E503EC--

 
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
install_driver(Oracle) failed: Can't load 'C:/Perl/site/lib/auto/DBD/Oracle/Oracle.dll' for module DBD::Oracle: load_file:The specified procedure could not be found at C:/Perl/lib/DynaLoader.pm line 230. Feyruz Perl Misc 4 10-14-2005 06:47 PM
Try, Try, Try, again... Rick12N4@netscape.net Computer Support 3 01-29-2005 04:02 PM
RE: Oracle beginner problem: can't connect to Oracle using cx_Oracle Pieter Claerhout Python 0 01-28-2004 01:13 PM
Oracle beginner problem: can't connect to Oracle using cx_Oracle Benson, John Python 1 01-28-2004 12:55 PM
Ruby script on OpenBSD needs to connect to Oracle 8i on Linux Evangeline South Ruby 1 10-22-2003 01:36 AM



Advertisments