Process model_dir in rake task, #197