Modified the way to start flow_manager and deleted the ruby setup error exception.