fix in rails env switch in kat-start