Well, in fact only different hash bang is problem which cause ruby -c to fail, if I remove it, then it works.