Initialize rails app