From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on starla X-Spam-Level: X-Spam-Status: No, score=-1.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from nue.mailmanlists.eu (nue.mailmanlists.eu [94.130.110.93]) (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) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id B4CEF1F44D for ; Wed, 24 Apr 2024 10:36:24 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=pass (1024-bit key; secure) header.d=ml.ruby-lang.org header.i=@ml.ruby-lang.org header.a=rsa-sha256 header.s=mail header.b=fgutBF8O; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=ruby-lang.org header.i=@ruby-lang.org header.a=rsa-sha256 header.s=s1 header.b=FPT0NV7G; dkim-atps=neutral Received: from nue.mailmanlists.eu (localhost [127.0.0.1]) by nue.mailmanlists.eu (Postfix) with ESMTP id 1FEA7844B4; Wed, 24 Apr 2024 10:36:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ml.ruby-lang.org; s=mail; t=1713954975; bh=tNzxp5hJkdbjh0Ia3sMHsG3YO+lXjD5Uh37uMLpvS5Q=; h=Date:References:To:Reply-To:Subject:List-Id:List-Archive: List-Help:List-Owner:List-Post:List-Subscribe:List-Unsubscribe: From:Cc:From; b=fgutBF8OTqxfL6LxLG/yaoA/jRgEvCYnsHMn41dW1ccqKwGZ6j8Flxh0k7vsr87nz TzYrG7zBwTD7q7eESt5gjM4MTicmvTWujADXvRdMB6OYipJ9w0NQaytA8HE0n2xwfl 7dBbQzkiakz2lJheBLTjbVP5wu91VkfAHbIOQhFw= Received: from s.wfbtzhsw.outbound-mail.sendgrid.net (s.wfbtzhsw.outbound-mail.sendgrid.net [159.183.224.105]) by nue.mailmanlists.eu (Postfix) with ESMTPS id 2C202844B0 for ; Wed, 24 Apr 2024 10:36:12 +0000 (UTC) Authentication-Results: nue.mailmanlists.eu; dkim=pass (2048-bit key; unprotected) header.d=ruby-lang.org header.i=@ruby-lang.org header.a=rsa-sha256 header.s=s1 header.b=FPT0NV7G; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ruby-lang.org; h=from:references:subject:mime-version:content-type: content-transfer-encoding:list-id:to:cc:content-type:from:subject:to; s=s1; bh=IHmuw45zBEkQ2VHYljETXBK2EVoCR8gViNHnqUKiW68=; b=FPT0NV7G3TEx+jRoA0yyAWv4xzCORx+tZ7GENcE6avuAoNTq1nAV+m85SrmsQhu7ooDN jsBbE5vtNb1HsTOOuvKx7QiXBdenGAIQgeSuqmvBrGWiWz1J9vyO48sysOst5rh2O0gGvE PLVfZxVurG/GUvCyr2D6IbKyOP2v0JeXaUQNViEN8cZWy33rkcnKbqeHJJR8CmwQhmn0ml VVhLEG705R8u9RGjtUSVkS02uk/sEHmnzgv+ebLbnr0j4/4v/XAk+XFyOkGTY+kYQubTdQ ZM4rfkhieMfDO67PiIhblNgMiyI3LCE+rKQ3LuTIzKj4gBFBaPYJYny155FxSHEQ== Received: by recvd-6b888cd74b-h4bgf with SMTP id recvd-6b888cd74b-h4bgf-1-6628E09B-9 2024-04-24 10:36:11.237983745 +0000 UTC m=+995793.622961305 Received: from herokuapp.com (unknown) by geopod-ismtpd-14 (SG) with ESMTP id BYOF-uIbTWOgMDnqmpBXfQ for ; Wed, 24 Apr 2024 10:36:11.227 +0000 (UTC) Date: Wed, 24 Apr 2024 10:36:11 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 X-Redmine-Project: ruby-master X-Redmine-Issue-Tracker: Bug X-Redmine-Issue-Id: 20450 X-Redmine-Issue-Author: philippe.bs.noel@tutanota.com X-Redmine-Issue-Assignee: hsbt X-Redmine-Issue-Priority: Normal X-Redmine-Sender: philippe.bs.noel@tutanota.com X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: All Auto-Submitted: auto-generated X-Redmine-MailingListIntegration-Message-Ids: 94273 X-SG-EID: =?us-ascii?Q?u001=2ENAG4HjAT9mxRF9j1RL4xk+p3UqfuVKKz29XFGbHYnp6TuLt0UpXNPvRwl?= =?us-ascii?Q?atyCzN8=2FOzFUn1dmLLqb626S6z+60xRV8L=2FJK4n?= =?us-ascii?Q?ywCfIVGTtPWuSWjyaIu9LgA+DPhrVsl2AvdKIRj?= =?us-ascii?Q?NnW=2F4QdGkH9WESAvN3Imp=2FYHqOSS3Xwa=2Fcrtdtl?= =?us-ascii?Q?q+xH90GZBCuleOFvwvHJ=2FcEteD3G6hGUY2xIRUK?= =?us-ascii?Q?RGtIQ8kktKzsKRWeGjHxxzg0t5+04wknahQvSLE?= =?us-ascii?Q?zhYfyPcrLKVOow9AA1y=2FYLViG6h1Z43a9FrUdbK?= =?us-ascii?Q?XYcVGmIs=3D?= To: ruby-core@ml.ruby-lang.org X-Entity-ID: u001.I8uzylDtAfgbeCOeLBYDww== Message-ID-Hash: W2HYBYVU4T5HYBSNYX3Y3CVDKSA25SEL X-Message-ID-Hash: W2HYBYVU4T5HYBSNYX3Y3CVDKSA25SEL X-MailFrom: bounces+313651-b711-ruby-core=ml.ruby-lang.org@em5188.ruby-lang.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.3 Precedence: list Reply-To: Ruby developers Subject: [ruby-core:117677] [Ruby master Bug#20450] Ruby 3.1.1 broken with bootsnap List-Id: Ruby developers Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: "philippe.bs.noel@tutanota.com (Philippe Noel) via ruby-core" Cc: "philippe.bs.noel@tutanota.com (Philippe Noel)" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Issue #20450 has been updated by philippe.bs.noel@tutanota.com (Philippe Noel). hsbt (Hiroshi SHIBATA) wrote in #note-1: > Can you provide your `Gemfile`? I did confirm to work that with bootsnap and zeitwerk at https://github.com/ruby/ruby/pull/10347#issuecomment-2017204802 ``` $ cat Gemfile source 'https://rubygems.org' git_source(:github) { |repo| "https://github.com/#{repo}.git" } # Bundle edge Rails instead: gem 'rails', github: 'rails/rails' gem 'rails', '~> 7.1.0' gem 'bootsnap', require: false gem 'winrm' ``` ---------------------------------------- Bug #20450: Ruby 3.1.1 broken with bootsnap https://bugs.ruby-lang.org/issues/20450#change-108087 * Author: philippe.bs.noel@tutanota.com (Philippe Noel) * Status: Assigned * Assignee: hsbt (Hiroshi SHIBATA) * ruby -v: ruby 3.3.1 (2024-04-23 revision c56cd86388) [x86_64-linux] * Backport: 3.0: UNKNOWN, 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN ---------------------------------------- The issue looks like https://bugs.ruby-lang.org/issues/20060 With the new release of ruby 3.1.1, bootsnap does not work anymore. ``` bin/rails aborted! ArgumentError: comparison of String with nil failed (ArgumentError) msg = " #{RUBY_VERSION < SINCE[gem] ? "will no longer be" : "is not"} part of the default gems since Ruby #{SINCE[gem]}." ^^^^^^^^^^ /usr/local/bundle/gems/bootsnap-1.18.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require' ``` It's working with DISABLE_BOOTSNAP=1 with the following message : `warning: parser/current is loading parser/ruby33, which recognizes 3.3.0-compliant syntax, but you are running 3.3.1.` -- https://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.org/