Registry / database / ruby-oci8

ruby-oci8

JSON →
library2.2.14rbrubygemsunverified

Ruby interface for Oracle databases using the OCI8 API, supporting Oracle 10g and later.

gem install ruby-oci8
INSTALL
IMPORT
SIG · RUBY-OCI8
R
ruby-oci8
databaserubyv2.2.14
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

OCI8
require 'oci8'

Connect to an Oracle database and execute a query.

require 'oci8' conn = OCI8.new('username', 'password', 'database') cursor = conn.exec('SELECT * FROM dual') do |row| puts row.join(',') end conn.logoff
Debug
Known issues
gotchaRequires Oracle Instant Client or full Oracle client installation.
fix
Install Oracle Instant Client and set LD_LIBRARY_PATH (Linux) or PATH (Windows).
affects: >= 0
Upgrade
Version history
2.2.14latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Resources
ruby-oci8 — gem install ruby-oci8 · libregistry