using sinatra/contrib and rubytree gem