Error running on windows

353 views
Skip to first unread message

Cheezy

unread,
Mar 23, 2010, 1:01:26 PM3/23/10
to Oracle enhanced adapter for ActiveRecord
Trying to run on a windows platform. When I a very simple script that
attempts to connect I get
the following error. ruby-oci8 is installed with the help of the ruby-
installer development kit. Any
ideas?

Please install the oracle_enhanced adapter: `gem install activerecord-
oracle_enhanced-adapter` (ERROR: ActiveRecord oracle_enhanced adapter
could not load ruby-oci8 library. Please install ruby-oci8 gem.)
(RuntimeError)

Thanks

Raimonds Simanovskis

unread,
Mar 23, 2010, 5:28:28 PM3/23/10
to Oracle enhanced adapter for ActiveRecord
Which activerecord-oracle_enhanced-adaper and ruby-oci8 gem versions
have you installed?

Can you try steps in sequence from troubleshooting page
http://wiki.github.com/rsim/oracle-enhanced/troubleshooting and tell
in which step you get what error?

Raimonds

Cheezy

unread,
Mar 24, 2010, 10:10:31 AM3/24/10
to Oracle enhanced adapter for ActiveRecord
I am failing on step two which is verifying ruby-oci8. I am unable to
get a working version of ruby-oci8
on the Windows machine. I have tried the binary versions as well as
building from scratch. Any
suggestions?

On Mar 23, 5:28 pm, Raimonds Simanovskis


<raimonds.simanovs...@gmail.com> wrote:
> Which activerecord-oracle_enhanced-adaper and ruby-oci8 gem versions
> have you installed?
>

> Can you try steps in sequence from troubleshooting pagehttp://wiki.github.com/rsim/oracle-enhanced/troubleshootingand tell

Cheezy

unread,
Mar 24, 2010, 10:11:43 AM3/24/10
to Oracle enhanced adapter for ActiveRecord
I am using activerecord-oracle_enhanced-adapter version 1.2.4 and ruby-
oci8 version 2.0.4.

On Mar 23, 5:28 pm, Raimonds Simanovskis
<raimonds.simanovs...@gmail.com> wrote:

> Which activerecord-oracle_enhanced-adaper and ruby-oci8 gem versions
> have you installed?
>

> Can you try steps in sequence from troubleshooting pagehttp://wiki.github.com/rsim/oracle-enhanced/troubleshootingand tell

Raimonds Simanovskis

unread,
Mar 24, 2010, 5:44:47 PM3/24/10
to Oracle enhanced adapter for ActiveRecord
Probably ruby-oci8 cannot find Oracle Client dll in PATH.
Here are my instructions how to install Oracle Instant Client and ruby-
oci8 on Windows - http://github.com/rsim/ruby-plsql-spec/blob/master/INSTALL-Windows.markdown

Raimonds

Reply all
Reply to author
Forward
0 new messages