Date: Mon, 25 Mar 2024 14:36:15 +0000 From: bugzilla-noreply@freebsd.org To: ruby@FreeBSD.org Subject: [Bug 277395] ports-mgmt/portupgrade with lang/ruby32 fails with: undefined method `exists?' for File:Class Message-ID: <bug-277395-21402-dO1FENLwJw@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-277395-21402@https.bugs.freebsd.org/bugzilla/> References: <bug-277395-21402@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 #15 from Harald Langner <hlangner@alice-dsl.net> --- (In reply to Tobias C. Berner from comment #1) Hi, why not change the tow typo's? In Version : 2.4.16_3,2 the error is still there. in /usr/local/sbin/portsclean=20 change .exits to exist 285 #HL dirs.delete(d) if ! (File.exists?(d) && File.stat(d).directory?) dirs.delete(d) if ! (File.exist?(d) && File.stat(d).directory?) and in /usr/local/lib/ruby/site_ruby/3.2/pkgtools change .exits to exist 527 #HL: if File.exists?(custom_script) if File.exist?(custom_script) and all is working fine. --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-277395-21402-dO1FENLwJw>