[dev-ruby] Tree cleaning