require rails 2.3.16 and fixed initial run order