|
You can try closing the DB connection after the framework initialization.
That's because ruby LSAPI will fork all children processes off the parent, file handles to SQLite db are inherited, may cause trouble when multiple processes try to access the DB using the same file handle.
Another way to debug is to "strace/truss" the ruby process.
|