`require’: cannot load such file — ruby-oci8 (LoadError)

If you are attempting to use the Oracle OCI8 gem with Ruby, and you have correctly followed the [installation instructions](http://ruby-oci8.rubyforge.org/en/file.install-instant-client.html), but you are getting a message like:

`require’: cannot load such file — ruby-oci8 (LoadError)

You may want to check your ruby script and make sure that you have this at the top:

require ‘oci8’

Because even though the gem is named `ruby-oci8` using this:

require ‘ruby-oci8′

Will cause the error:

> `require’: cannot load such file — ruby-oci8 (LoadError)

Related Posts:

  • No Related Posts
This entry was posted in Tech Tips and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *