creaing rails app

- run rails new and adding the code