init a web app via ruby on rails