Skip to content

Instantly share code, notes, and snippets.

@rodrigopasc
Created February 25, 2019 17:10
Show Gist options
  • Save rodrigopasc/0eb8eeb806148795c6d608382bc61976 to your computer and use it in GitHub Desktop.
Save rodrigopasc/0eb8eeb806148795c6d608382bc61976 to your computer and use it in GitHub Desktop.
How to Install Oracle Instant Client on macOS

How to Install Oracle Instant Client on macOS

Open your terminal and then excute the commands down below:

$ brew doctor
$ brew tap InstantClientTap/instantclient
$ brew install instantclient-basic
$ brew install instantclient-sdk
$ brew install instantclient-sqlplus
$ brew cleanup
$ export OCI_DIR=$(brew --prefix)/lib

Enjoy! ☺️

Now you should be able to install Ruby gem ruby-oci8 with no problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment