Fix production DB adapter, and remove unnecessary gem