Set up rails app.