writing ruby script to call erb using sinatra