initialize rails directory