datamapper / dm-oracle-adapter

Oracle Adapter for DataMapper
http://datamapper.org/
MIT License
18 stars 8 forks source link

`require': cannot load such file -- oci8 (LoadError) #15

Open markson opened 11 years ago

markson commented 11 years ago

I'm running ruby 2.0 on Mac,

here's the Gemfile:

gem 'sinatra' gem 'thin' ~ #gem 'dm-postgres-adapter'

and because I couldn't find README file I setup like this:

DataMapper.setup(:default, 'oracle://system:manager@localhost:1521/XE')

steimntz commented 9 years ago

I've been passing through the same problem, my GemFile is: source "https://rubygems.org"

gem "rb-inotify", "0.9.5" gem "sinatra" gem "sinatra-contrib" gem "dm-oracle-adapter" gem "data_mapper"

group :development do gem "rspec" end

steimntz commented 9 years ago

I've just installed the following packages in my Ubuntu 15.04: $ sudo apt-get install libaio1 libaio-dev

then I've configured ruby-oci8 as instructed in this tutorial. That worked for me.