Updated doc
Ruby-ized setup and fix clearpart error