Init rails app.