Initialize rails 3 app