init rails app.