Set database dir path for db rake tasks