Closed styrken closed 1 year ago
@styrken Its failing becoz it couldnt find libdb2.so.1 library. You need to set below env variable as per environment. _Windows: set LIB=%IBM_DB_HOME%/lib;%LIB%
AIX:
export LIBPATH=$IBM_DB_HOME/lib:$LIBPATH
MAC:
export DYLD_LIBRARY_PATH=$IBM_DB_HOME/lib:$DYLD_LIBRARY_PATH
Other platforms:
export LD_LIBRARY_PATH=$IBM_DB_HOME/lib:$LD_LIBRARY_PATH_
Ideally above env variable must be pointing to location where libdb2.so is located.
I am giving above information assuming you had set IBM_DB_HOME env var, if not you need set as below export IBM_DB_HOME="path to clidriver folder"
Hi @praveen-db2
Thank you, it seems to work now.
Hello,
I have installed version 5.3.2 of this gem and bundling worked fine:
But when i run the rails app it fails:
RAILS_ENV=staging bundle exec rails s
Server Information
I was under the impression the driver is automatically installed during bundling. Is there anything i am doing wrong here?