on 2023 Jan 27 7:32 AM
I'm working on a web project, which connects to a SQLAnywhere version 17 database. I'm using Ruby version 2.6.2 and Rails 6.0.6 to run the app.
I've already set the SQLAnywhere environment variables, hosted in the following script:
. /opt/sqlanywhere17/bin64/sa_config.sh
In the development environment it works without apparent problems, but in the production environment it throws me the following error:
LoadError (Could not load SQLAnywhere DBCAPI library):
I've already tried setting the various bash script manually, but it still didn't work. What else could I try?
The gems that depend on these libraries are the following:
gem 'sequel' gem 'sqlanywhere'
Thanks a lot!. I have solved this problem, loading the definition of the variables in the configuration file in two locations:
/usr/local/rvm/wrappers/default/ruby /etc/rvmrc
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
62 | |
10 | |
10 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.