Resolution: Won't Fix
Affects Version/s: 0.11
Fix Version/s: 1.2
any system where different minor versions of CouchDB have been installed to the same --prefix
Skill Level:Regular Contributors Level (Easy to Medium)
We're using ERL_LIBS to add PREFIX/lib/couchdb/erlang/lib to the code path on CouchDB startup. If multiple versions of CouchDB have been installed, that directory might look something like
In this case, we want the system to use beams from couch-0.10.0a, but apparently Erlang's code loader sorts couch-0.9.0 higher.
One solution would be to fall back to explicitly adding specific app directories to the code path using -pa.
An elegant solution would be to make sure that our app directories are named in such a way that they automatically sort correctly in the code loader. I'm not sure this is really possible, though, particularly when a user is installing development versions built from source next to released versions.