Init rails application