[Bug 277395] ports-mgmt/portupgrade with lang/ruby32 fails with: undefined method `exists?' for File:Class

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 03 Mar 2024 11:43:45 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277395

--- Comment #10 from Tomoaki AOKI <junchoon@dec.sakura.ne.jp> ---
(In reply to bagas from comment #9)

The patch tobias C.Berner mentioned at Comment 1 is for applying onto ports
tree.
If you are updateing ports tree using devel/git, you can update as follows.

# cd /usr/ports && git stash && git pull --ff-only && portsdb -Uu && git stash
apply

This way, git automatically revert local patches which are not committed before
pulling updates from upstream and automatically re-apply the patch.

Don't forget to check whether applied patch (or possibly conflicting changes)
are committed on cgit or dev-commits-ports-main ML. If any, revert the patch
before updating to be safe.

To reduce risks, you would bettter updating ports tree on single computer and
deploy (by clone, rsync or anything you prefer) or null-mount it from others.

-- 
You are receiving this mail because:
You are the assignee for the bug.