From nobody Wed Dec 29 06:14:04 2021 X-Original-To: ruby@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id CC213191C8C8 for ; Wed, 29 Dec 2021 06:14:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JP1M2205xz3s4g for ; Wed, 29 Dec 2021 06:14:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 24E5E1FA51 for ; Wed, 29 Dec 2021 06:14:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1BT6E6f6068094 for ; Wed, 29 Dec 2021 06:14:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1BT6E69D068093 for ruby@FreeBSD.org; Wed, 29 Dec 2021 06:14:06 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ruby@FreeBSD.org Subject: [Bug 237833] lang/ruby26: irb, rdoc, ri is broken Date: Wed, 29 Dec 2021 06:14:04 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: lab+bsd@thinkum.space X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: meta@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD-specific Ruby discussions List-Archive: https://lists.freebsd.org/archives/freebsd-ruby List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ruby@freebsd.org X-BeenThere: freebsd-ruby@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1640758446; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=D58q6rrKMqenYEuV6s8CD2CkkxhUgE7PZfj8E300+hw=; b=sj0ssXMgm01WnzquEZwnDBW+M3DbNulOXtAKXQw0cSBRAg27y7Cy05Gsj56LxV4wcjK7Kk 5vy4jJdkHzLJsfn7umH2o/uiVmdlXSVQlzbwj6smpO+gk87GJ0EmAta1u/LJvoyjFOLhkc TfIJgnPHsKS3dFE+G05L8KISd8L+FRlUfwvt7yOjsD1UbOEZl9S69EOwc1E2j4q5AHch6s P0Ep43RBXtsVdh6ha2wRIlTw9/ITVku+7MoL8LLRbca9e0OIhavMhwouqyPOUtglyDBeKC Gyf0FHajp9wssbOHcycWgQVwYOY/ramnxcBJcRDnOVhT/NN/1cHgFmstihNiMQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640758446; a=rsa-sha256; cv=none; b=K30UUDtcJ0JzuJMPiUqOWsaBFE6b44hTu7j3KKNsN3pgZCqL6O6NgOY1AqET+PMyCyzWkG tMKWPc+pXT/14tkzTRrZpbbw6a4xQCdBgGpCE0/RHakLteBWbQbR3VuTYfQekZ7oHNAo6K B3amoikf9WhTVeSdPKnPTFnMss7m6TOlGzzTsEcSkNr00watSlMDR0NfIoi3Sc+z5/fdfW lvQJ6Dec7L1jolUVLuUP6NRtGflMDQ9NGK0Wjh6de2+e7ArpRvOuXIME3rOSZ7NKSCDxTC T4g3hKnTz7iRIuv5TO5NxDRnMMj3YgxZbmDvMRvbfQ/r328LDz2vmDA2HD0Y9w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237833 Sean Champ changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lab+bsd@thinkum.space --- Comment #23 from Sean Champ --- I've seen similar errors, I believe it may have something to do with how the Gem API resolves gemspec pathnames I think a lot of the issues might clear up with a newer ruby-gems version. = I've sent a patch for this https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260780=20 For bundling with tools like irb, rdoc, etc. it should be possible to provi= de a meta-port. I'll hopefully have a patch put together for that, if it could b= e of any use - something that could depend on the Ruby implementation of a given default version and the ports that would provide the common Ruby platform t= ools - e.g including the tools for the bundler, erb, irb, racc, rake, rbs, rdoc,= and typeprof cmds, all of which are available via separate gems. I'm not sure if it might seem initially very convenient, but after trying o= ut some other approaches for installing a usable 'irb' locally, I believe it m= ay work out well to use the individual ports e.g for irb, rdoc, etc. Those por= ts may be available at their latest public release, contrasted to whatever ver= sion was included in the Ruby platform bundle of some version.=20 Considering the essential features of the ruby-gems port, in particular, the latest updates may provide some useful features e.g in affecting how the to= ols are launched from the console command line. Ideally, some bugs might go away after update, as such. For the sake of convenience for a new Ruby installation with FreeBSD, it sh= ould be possible to put together a meta-port that would draw all of these separa= te Ruby ports together. I don't believe I've found the only approach for this,= but I've been working on a new port for that - calling it lang/ruby-platform. Perhaps it's been tested enough that I could send a diff, for public review shortly, ostensibly for adding it to the ports tree or at least as a point = of discussion. The meta-port might depend on the ports providing the erb, irb, racc, rake, rbs, rdoc, and typeprof cmds such that might normally be available if everything works out in a new Ruby installation. To provide a single point = for installation, those could be installed as dependencies of the metaport, at their latest published version in ports. Of course, this would also pull in= any updates for the ruby-gems port. Then there are the bundled gems in a baseline Ruby install, such that don't have command line tools - e.g the rss gem, such that might be of interest f= or podcast stuff etc. Hopefully the ruby-gems update and the metaport might be of some use. I'll = try to put the metaport patch together, for one approach to this. Health, all - Sean --=20 You are receiving this mail because: You are on the CC list for the bug.=