make ruby db initialization conditional on envvar existence