Open matthewtusker opened 3 weeks ago
Could you check whether the following command run?
ruby -r oci8 -e "p OCI8.oracle_client_version"
If it runs without crash, I guess that the issue depends the order of require '...'
as https://github.com/kubo/ruby-oci8/issues/257#issuecomment-2243273574.
The workaround is to make sure ruby-oci8 is loaded as early as possible.
Running that several times hasn't raised the error. I'm seeing it in an application I work on, but the issue is intermittent. Sometimes the app fails to start, sometimes it works for a while and then crashes. Wouldn't the ordering issue be more consistent in its crashes?
Wouldn't the ordering issue be more consistent in its crashes?
I don't say whether it is consistent or intermittent. If it is caused by symbol conflict, nobody can predict what will happen.
Okay, thanks, I'll try moving ruby-oci8
further up our Gemfile.
I'm seeing random crashes while using
ruby-oci8
natively on my Mac M1: