Hello folks.

I'm new in Ruby also ROR.
I installed oracle intant client and test it it works fine. Now I wanna
connect to oracle db. But its got some error. like this
*custom_require.rb:36:in `require': cannot load such file -- oci8
(LoadError)*

my code is here.

require 'oci8'
oci = OCI8.new('user','pass','ip:port/sid')
oci.exec('select * from table') do |record|
   puts record.join(',')
end

Pls help me. What's wrong ?

Regards.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAPs6WSebTp9RM0CBvoQEYheXA3HkUp3%2B04Piom0FQTtDDARDKw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 4 | next ›
Discussion Overview
grouprubyonrails-talk @
categoriesrubyonrails
postedAug 29, '13 at 8:25a
activeAug 29, '13 at 9:31a
posts4
users2
websiterubyonrails.org
irc#RubyOnRails

People

Translate

site design / logo © 2022 Grokbase