create': ERROR (OCIError)

Discussion in 'Ruby' started by Matt Ti, Mar 21, 2008.

  1. Matt Ti

    Matt Ti Guest

    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-forum.com/.
    Matt Ti, Mar 21, 2008
    #1
    1. Advertising

  2. Matt Ti

    Jesse Hu Guest

    [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/HowToInstall.html to see if you missed any
    steps.


    2008/3/21, Matt Ti <>:
    >
    > 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-forum.com/.
    >
    >

    --
    Cheers,
    Jesse
    Jesse Hu, Mar 26, 2008
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Sonu
    Replies:
    1
    Views:
    792
  2. JB
    Replies:
    1
    Views:
    436
    Mark Rae [MVP]
    Dec 14, 2007
  3. prady
    Replies:
    2
    Views:
    429
    Phil H
    Dec 29, 2007
  4. Dheeraj Gambhir

    OCIError: OCI Library Initialization Error

    Dheeraj Gambhir, Jul 21, 2009, in forum: Ruby
    Replies:
    1
    Views:
    401
    Dheeraj Gambhir
    Jul 22, 2009
  5. Dheeraj Gambhir
    Replies:
    2
    Views:
    492
    Dheeraj Gambhir
    Jul 27, 2009
Loading...

Share This Page