Open sunku opened 10 years ago
I think it caused because couchbase model touch every ruby file in this directory to check if it need to sync design document https://github.com/couchbase/couchbase-ruby-model/blob/1432c61c20ca2710d858d76d8309d57e25819824/lib/couchbase/railtie.rb#L115-L117
Could you trace the in which order couchbase-model loads its stuff and the mysql configuration. Probably by the time the railtie above is trying to load model class, the mysql connection isn't ready to accept requests.
Hello.
I just installed 'couchbase 1.3.3' and 'couchbase-model 0.5.3' gem on my Rails app (3.2.16) today. When I start my rails app, I see this error below.
My Rails app already uses mysql gem with ActiveRecord, but I haven't seen this error before. I just figured out that this error only raised when I use 'couchbase-model' gem.
Does anyone see this error?
Thank you!