Initialise rails app