Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Mar 2024 13:53:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 277395] ports-mgmt/portupgrade with lang/ruby32 fails with: undefined method `exists?' for File:Class
Message-ID:  <bug-277395-7788-vTNbrQQAmL@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-277395-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-277395-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277395

--- Comment #6 from bagas <bagas1983@mail.ru> ---
We are waiting for a global update of the patch to the portupgrade port.

I confirm that these changes work.

portsclean
+-    dirs.delete(d) if ! (File.exists?(d) && File.stat(d).directory?)
++    dirs.delete(d) if ! (File.exist?(d) && File.stat(d).directory?)

and=20

pkgtools.rb
-  if File.exists?(custom_script)
+  if File.exist?(custom_script)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-277395-7788-vTNbrQQAmL>