简体   繁体   中英

ruby-oci8 gem load error with ubuntu 14.04 LTS 64 bit with ruby-1.9.3-p551 [ x86_64 ]

I have installed ruby-oci8 gem, following the rubydoc steps

After completing the installation, when I tried to run rails s command it's giving the error message, says:

*ERROR: ActiveRecord oracle_enhanced adapter could not load ruby-oci8 library. Please install ruby-oci8 gem. (LoadError)*

need help on this.

I didn't find the actual cause for this behavior, but fresh installation of rvm and ruby and the following command :

sudo apt-get install libaio1

works like the magic.

thank you

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM