ruby: get out and err when use spawn see#invoke_acts