7stud2
(7stud --)
18 September 2013 23:49
1
I got this error when trying to connect to the database:
C:/test/Ruby/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
`require': OCI.DLL: 193(%1 is not a valid Win32 application. )
(LoadError)
what could've caused it?
Thanks
···
--
Posted via http://www.ruby-forum.com/ .
7stud2
(7stud --)
19 September 2013 03:43
2
I have updated the oci.dll and got this error instead:
c:/test/Ruby/ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
`initialize': wrong number of arguments (2 for 0..1) (ArgumentError)
The steps:
I run "ruby refresh_test_data.rb"
and that's it, I got that error.
I'm uploading the necessary codes
Attachments:
http://www.ruby-forum.com/attachment/8734/config.yaml
http://www.ruby-forum.com/attachment/8735/refresh_test_data.rb
http://www.ruby-forum.com/attachment/8736/test_generator.rb
···
--
Posted via http://www.ruby-forum.com/ .
7stud2
(7stud --)
19 September 2013 03:45
3
and FYI, the credentials provided in the config.yaml works (has been
tested from sqlplus console).
···
--
Posted via http://www.ruby-forum.com/ .
If you are using Oracle instant client, copy *all* dll files in the package
to same location.
If you are using full client, don't copy oci.dll. It must be at the
installed location.
···
On Thu, Sep 19, 2013 at 12:43 PM, nebeng intiland <lists@ruby-forum.com>wrote:
I have updated the oci.dll and got this error instead:
c:/test/Ruby/ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
`initialize': wrong number of arguments (2 for 0..1) (ArgumentError)