prune ruby modes