fix rails3 bootup

this was preventing test mode bootup under rails 3