use Padrino.root instead of require closes #1129