From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 2rvFCfuful4oXQAA0tVLHw (envelope-from ) for ; Tue, 12 May 2020 13:09:15 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id iM0tHQmgul7icQAAB5/wlQ (envelope-from ) for ; Tue, 12 May 2020 13:09:29 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 22593940509 for ; Tue, 12 May 2020 13:09:27 +0000 (UTC) Received: from localhost ([::1]:39144 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jYUf2-0002Up-1J for larch@yhetil.org; Tue, 12 May 2020 09:09:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45378) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jYUes-0002Ug-JK for guix-devel@gnu.org; Tue, 12 May 2020 09:09:18 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:35073) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jYUer-0008CO-AB for guix-devel@gnu.org; Tue, 12 May 2020 09:09:18 -0400 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 874E35C0140 for ; Tue, 12 May 2020 09:09:14 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Tue, 12 May 2020 09:09:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inv.alid.pw; h= from:to:subject:date:message-id:mime-version:content-type; s= fm3; bh=6x2pcBAd+SyDJv8x6EwBRQmBIwo5sKmwDXBV/wn2ywA=; b=e8zacQTz 6TFBQPL4sTPariymA8s/TPnXn9/Ht93yFBWs4v2dkY+npuW7yOwhg5nbyftHfK9W EjC1MkPZmKjxhv/Fyf8s2PknouB2VVzq5qPIMo7w2SuJ0Zi0RmJzWsYJkqhO4dKX aUA107YZCE9HZvqCZ7172T+AU1s6V4kLaqzUp2Pm6beAUSc8h1LRYglM5IVloJzV atBs0ui9SJuslPJ0iP7qSumAxNiXICCSmyGHTUDoHyGXg88eJv5n/3iwNRRYTtWc 6g2r7wa9fuHBmXg8yB3nE2XzePo4c1/B9LtlTZrPKN72jO5wJ5g0QEYPiFXn48ly P3xBPMdtwqMA5w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=6x2pcBAd+SyDJv8x6EwBRQmBIwo5s KmwDXBV/wn2ywA=; b=1tOMBnFRs6JqJtwtDLmfIr8ShOFI+DHYIXqiH5croPu+M qPOxyoXSKIbS9LViOwnrW6lWyVFonCaNjVaZLTCNPdSDnNkZ7ymUzBqVIATcrIIB 3lknJRTC4pygqQjWmI45aTKETgnsR02n9+bTbKqofIqw6wsfK3shXY4zNoSZt+Of jDbDwH1oASPC7KHg2CMs8qS7FFve/LYMOzADVm9X2uTqxYJk3tQip97utg6Pa/BP z4LjKLySAt+zciptxcj1F7rmlu2G34vOKd42dVfg5T7L8KIPUQSRz7kTqtb04bf7 kpdbkQg8+zLcSEM7qmTMKDtISiMx9w8KuJWSA5+Rg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrledvgdehkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecufghrlhcuvffnffculdduhedmnecujfgurhepfgfhvf fufffkgggtsehttdertddtredtnecuhfhrohhmpeflohhshhcujfholhhlrghnugcuoehj ohhshhesihhnvhdrrghlihgurdhpfieqnecuggftrfgrthhtvghrnhepveduhfetkeduud dtvdeuteffhfefgfehffefjeevgfefhfdvtdfguddttefgvdeknecuffhomhgrihhnpegs uhhnughlvghrrdhiohenucfkphephedurddugeekrddukedtrdejnecuvehluhhsthgvrh fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepjhhoshhhsehinhhvrdgrlhhi ugdrphif X-ME-Proxy: Received: from spica (unknown [51.148.180.7]) by mail.messagingengine.com (Postfix) with ESMTPA id 81588328005D for ; Tue, 12 May 2020 09:09:13 -0400 (EDT) User-agent: mu4e 1.4.4; emacs 26.3 From: Josh Holland To: Guix-devel Subject: Bundler 2 Date: Tue, 12 May 2020 14:09:12 +0100 Message-ID: <87r1vppafb.fsf@inv.alid.pw> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=66.111.4.27; envelope-from=josh@inv.alid.pw; helo=out3-smtp.messagingengine.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/12 09:09:14 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -26 X-Spam_score: -2.7 X-Spam_bar: -- X-Spam_report: (-2.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 X-Spam-Score: -1.21 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=inv.alid.pw header.s=fm3 header.b=e8zacQTz; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=1tOMBnFR; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Scan-Result: default: False [-1.21 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.54001029184589]; DWL_DNSWL_FAIL(0.00)[209.51.188.17:server fail,alid.pw:server fail]; R_SPF_ALLOW(-0.20)[+ip4:209.51.188.0/24:c]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.06), country: US(-0.00), ip: 209.51.188.17(-0.54)]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[inv.alid.pw:+,messagingengine.com:+]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; MAILLIST(-0.20)[mailman]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RCVD_IN_DNSWL_FAIL(0.00)[209.51.188.17:server fail]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:22989, ipnet:209.51.188.0/24, country:US]; TAGGED_FROM(0.00)[larch=yhetil.org]; FROM_NEQ_ENVFROM(0.00)[josh@inv.alid.pw,guix-devel-bounces@gnu.org]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[inv.alid.pw:s=fm3,messagingengine.com:s=fm2]; URIBL_BLOCKED(0.00)[messagingengine.com:dkim,bundler.io:url,inv.alid.pw:dkim]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[guix-devel@gnu.org]; DMARC_NA(0.00)[alid.pw]; HAS_LIST_UNSUB(-0.01)[]; RCPT_COUNT_ONE(0.00)[1]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.51.188.17:from]; RCVD_COUNT_SEVEN(0.00)[7]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: oveltAuy/9cC Hi Guix, In the course of some fairly involved yak-shaving, I found the need to run a Ruby package, and tried running `guix environment --ad-hoc bundler ruby`. However, running it produced an error: $ bundle install Traceback (most recent call last): 2: from /gnu/store/5flpa8h2adwb86n49r7p3mbp11p0jafr-profile/bin/bundle:23:in `
' 1: from /gnu/store/9yqh0g1p5bmxar8dlfp84j4py3j631jv-ruby-2.6.5/lib/ruby/2.6.0/rubygems.rb:302:in `activate_bin_path' /gnu/store/9yqh0g1p5bmxar8dlfp84j4py3j631jv-ruby-2.6.5/lib/ruby/2.6.0/rubygems.rb:283:in `find_spec_for_exe': Could not find 'bundler' (2.1.0.pre.2) required by your /home/josh/c/gnome-dbus-emulation-wlr/Gemfile.lock. (Gem::GemNotFoundException) To update to the latest version installed on your system, run `bundle update --bundler`. To install the missing version, run `gem install bundler:2.1.0.pre.2` Indeed I see that gnu/packages/ruby.scm only packages Bundler v1.17.3, though Bundler 2 was released in January 2019 [0]. I'm not hugely familiar with the Ruby ecosystem, but reading the release announcement suggests that they expect users/developers to have both Bundler 1 and Bundler 2 available. If I hadn't seen this, I'd have gone ahead and submitted a patch simply upgrading the Bundler package definition, but I'm not sure if that will then immediately break every package depending on it that expects Bundler 1. Is this a valid concern? Should Guix provide packages for both Bundler 1 and Bundler 2, or would just Bundler 2 be sufficient? I'll still write a definition for the new version, but I'll hold off submitting a patch until I've had some feedback. [0]: https://bundler.io/blog/2019/01/03/announcing-bundler-2.html Thanks, -- Josh Holland