Skip to content
Ruby-oci8 - Oracle interface for ruby
Ruby C Other
Failed to load latest commit information.
docs Rename outbound_connect_timeout in OCI8::properties to connect_timeout.
ext/oci8 Fix bug introduced by the previous commit for mingw32 64-bit compiler.
lib Rename outbound_connect_timeout in OCI8::properties to connect_timeout.
spec * ext/oci8/ocinumber.c: Add a global function OraNumber(obj) as a
test Support tcp_connect_timeout, connect_timeout, send_timeout and recv_t…
.gitignore Ignore ext/oci8/*.bundle.
.yardopts Support tcp_connect_timeout, connect_timeout, send_timeout and recv_t…
COPYING Change the license from ruby license to 2-clause BSD license.
COPYING_old Change the license from ruby license to 2-clause BSD license.
ChangeLog Rename outbound_connect_timeout in OCI8::properties to connect_timeout.
Makefile Use ruby-oci8 version in lib/oci8/version.rb instead of VERSION.
NEWS Change document a bit clear.
README.md fix "Install C compiler" in install-on-osx.md.
dist-files Support tcp_connect_timeout, connect_timeout, send_timeout and recv_t…
metaconfig * metaconfig: add '-w' when running test cases.
pre-distclean.rb create map files of oci8lib_*.so on mingw32 in case of analyzing a co…
ruby-oci8.gemspec Change the required_ruby_version from '>= 1.8.0' to '>= 1.9.1'.
setup.rb Fix to compile for various ruby versions.

README.md

What is ruby-oci8

Ruby-oci8 is a ruby interface for Oracle Database. The latest version is available for all Oracle versions after Oracle 10g including Oracle Instant Client.

Use ruby-oci8 2.0.6 for Oracle 8 or use ruby-oci8 2.1.8 for Oracle 9i.

Note that ruby 1.8 support was dropped in ruby-oci8 2.2.0. Use ruby-2.1.8 for ruby 1.8.

What's new

See {file:NEWS}.

Sample one-liner

Connect to scott/tiger, select emp and print as CSV format.

ruby -r oci8 -e "OCI8.new('scott', 'tiger').exec('select * from emp') do |r| puts r.join(','); end"

Homepage

Installation

  • {file:docs/install-full-client.md Install for Oracle Full Client}
  • {file:docs/install-instant-client.md Install for Oracle Instant Client}
  • {file:docs/install-binary-package.md Install Binary Package}
  • {file:docs/install-on-osx.md Install on OS X}

Report issues

License

  • {file:COPYING 2-clause BSD-style license} from ruby-oci8 2.1.3
  • {file:COPYING_old old Ruby license} until 2.1.2
Something went wrong with that request. Please try again.