[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

create': ERROR (OCIError

Matt Ti

3/21/2008 1:58:00 PM

I'm attempting to debug a script I've inherited. I really know nothing
about ruby so if anyone could point me in the right direction I'd
appreciate it.

When I try to run my script I get the following output. I think it
might have something to do with the Oracle environment . . . but I'm not
sure.

/usr/local/lib/ruby/site_ruby/1.8/oci8.rb:49:in `create': ERROR
(OCIError)
from /usr/local/lib/ruby/site_ruby/1.8/oci8.rb:49
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
from
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/active_support/dependencies.rb:495:in
`require'
from
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/active_support/dependencies.rb:342:in
`new_constants_in'
from
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/active_support/dependencies.rb:495:in
`require'
from
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/active_support/core_ext/kernel/requires.rb:7:in
`require_library_or_gem'
from
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/active_support/core_ext/kernel/reporting.rb:11:in
`silence_warnings'
... 17 levels...
from
/usr/local/lib/ruby/gems/1.8/gems/rails-1.2.2/lib/initializer.rb:43:in
`run'
from ./../config/environment.rb:13
from ./dispatch.fcgi:21:in `require'
from ./dispatch.fcgi:21
--
Posted via http://www.ruby-....

1 Answer

Jesse Hu

3/26/2008 8:23:00 AM

0

[Note: parts of this message were removed to make it a legal post.]

Hi Matt,

please follow the Ruby-OCI8 install guide
http://ruby-oci8.rubyforge.org/en/HowToIn... to see if you missed any
steps.


2008/3/21, Matt Ti <mjtice@gmail.com>:
>
> I'm attempting to debug a script I've inherited. I really know nothing
> about ruby so if anyone could point me in the right direction I'd
> appreciate it.
>
> When I try to run my script I get the following output. I think it
> might have something to do with the Oracle environment . . . but I'm not
> sure.
>
> /usr/local/lib/ruby/site_ruby/1.8/oci8.rb:49:in `create': ERROR
> (OCIError)
> from /usr/local/lib/ruby/site_ruby/1.8/oci8.rb:49
> from
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
> `gem_original_require'
> from
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
> `require'
> from
> /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.1
> /lib/active_support/dependencies.rb:495:in
> `require'
> from
> /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.1
> /lib/active_support/dependencies.rb:342:in
> `new_constants_in'
> from
> /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.1
> /lib/active_support/dependencies.rb:495:in
> `require'
> from
> /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.1
> /lib/active_support/core_ext/kernel/requires.rb:7:in
> `require_library_or_gem'
> from
> /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.1
> /lib/active_support/core_ext/kernel/reporting.rb:11:in
> `silence_warnings'
> ... 17 levels...
> from
> /usr/local/lib/ruby/gems/1.8/gems/rails-1.2.2/lib/initializer.rb:43:in
> `run'
> from ./../config/environment.rb:13
> from ./dispatch.fcgi:21:in `require'
> from ./dispatch.fcgi:21
> --
> Posted via http://www.ruby-....
>
>
--
Cheers,
Jesse