delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/04/28/09:12:38

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 392A83857353
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1682687517;
bh=1sOdY/ht31ZeENDb+CghD7D/a9naOJ3YV0N1Ss8ifo0=;
h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=Gn4I58sZgZ+XvMAtB2WnZ0Iao8QKmUxH3USlwtq3Xm1l6pZ9LLWEskoE5VYYIqJyh
Cd2aECqfm2b2TZ8XmkIiUZtkyApSP9HwyvDwgwOzCa/dMd0db8zI+43LRI1lNT4kmN
RCMSpAriKAmXulEx64deZc94vqOlgW7rk+BXnlVE=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org AFAFB3857707
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20221208; t=1682687465; x=1685279465;
h=content-transfer-encoding:to:subject:message-id:date:from
:in-reply-to:references:mime-version:x-gm-message-state:from:to:cc
:subject:date:message-id:reply-to;
bh=e/d9xNBSMn+xCTyoEEPqIWFy6d3SS3B/QFDjjq1JES4=;
b=WGFoz1SDwwurIeWQnKsGtRx5T9kD9ULFAANuEW3247mBpZVxGUFEHEFGhYSKOh9DAn
8+7RXA7Ck67Ox3mz2rSynGGw4gDKqt3vh2fGbxz68L6JHsY8pZ7TBaxk6GlHx2WYXYT9
O2mjsn3pqVFKwvBhriayV7dJZ89xhH+g/CLrrAgvpIXjskDv8c9v2MDZi1Iq3990bkTc
B+88Gx0s8w+rX6j1kcVYdA4BU8bPdd7O/gLFf+tgk2V7JQLQIFtz4vcXf5G/1DJI1TnB
0vdKzIniBYHCfHyHm6ky0HhF7K/l5PPosXygcr/qNRVl7nuUsv9Kw5o6PkN/fQmcCcyA
Wl7w==
X-Gm-Message-State: AC+VfDygVb9OwiggPBZG/pUxgDty4er9Jhi7qWFEPyMa2T6mWMHIYGvx
kKwCCpLbRbTH6Nc0x6ThhcHd7cGCnJ8kGz0vALDns1RwmmQAOg==
X-Google-Smtp-Source: ACHHUZ48ypi5+6J7RFk/N5BF53ttEn7i4zg55oRDE2r6dtqruI04S2BZl7TktOAF8tBJdLl9yp+b/kyNYEX5Vu9qLys=
X-Received: by 2002:a1f:3f8d:0:b0:400:f4b8:d036 with SMTP id
m135-20020a1f3f8d000000b00400f4b8d036mr1776540vka.10.1682687464653; Fri, 28
Apr 2023 06:11:04 -0700 (PDT)
MIME-Version: 1.0
References: <AS8PR08MB6936E8DCABAA808C93D838D2E96A9 AT AS8PR08MB6936 DOT eurprd08 DOT prod DOT outlook DOT com>
<CAA3frXRe-aiWXnV1C+MesHdaunQyiswrT__MWQvW9XHmheb1hQ AT mail DOT gmail DOT com>
In-Reply-To: <CAA3frXRe-aiWXnV1C+MesHdaunQyiswrT__MWQvW9XHmheb1hQ@mail.gmail.com>
Date: Fri, 28 Apr 2023 22:10:28 +0900
Message-ID: <CAA3frXQoaKhLSrJFxRUjeWydBfEbV4gvfcOvDTieXBTMrSepWg@mail.gmail.com>
Subject: Re: Problems with asciidoctor gem after ruby update
To: cygwin AT cygwin DOT com
X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,
SPF_HELO_NONE, SPF_PASS, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Daisuke Fujimura via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Daisuke Fujimura <booleanlabel AT gmail DOT com>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 33SDCM68028951

A corrected package has been released. (ruby-3.2.2-2)

On Fri, Apr 28, 2023 at 5:36 AM Daisuke Fujimura <booleanlabel AT gmail DOT com> wrote:
>
> I apologize for any inconvenience caused.
> Please wait a moment while I investigate.
>
> On Thu, Apr 27, 2023 at 8:13 PM Daniel Abrahamsson via Cygwin
> <cygwin AT cygwin DOT com> wrote:
> >
> > Hi,
> >
> > I’m not sure if the issue is cygwin-specific or not, but I do not have a linux box with a sufficiently new version of ruby to test with. The errors started showing up after the recent updates of the ruby and rubygems packages.
> >
> > When installing asciidoctor via `gem install asciidoctor`, a asciidoctor "binary" is placed in "$HOME/bin". However, when running `asciidoctor` I get:
> >
> > ```
> > $ asciidoctor
> > /home/daab/bin/asciidoctor: line 6: /home/daab/bin/ruby: No such file or directory
> > ```
> >
> > The asciidoctor binary is looking for ruby in the wrong place (it should be looking for the system ruby).
> >
> > Version output:
> > ```
> > $ asciidoctor -v
> > Asciidoctor 2.0.18 [https://asciidoctor.org]
> > Runtime Environment (ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x86_64-cygwin]) (lc:UTF-8 fs:UTF-8 in:UTF-8 ex:UTF-8)
> > $ ruby -v
> > ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x86_64-cygwin]
> > $ gem -v
> > 3.4.12
> > ```
> >
> > The asciidcoctor binary on the upgraded system starts with these lines:
> >
> > ```
> > #!/bin/sh
> > # -*- ruby -*-
> > _=_\
> > =begin
> > bindir="${0%/*}"
> > exec "$bindir/ruby" "-x" "$0" "$@"
> > =end
> > #!/usr/bin/ruby.exe
> > #
> > # This file was generated by RubyGems.
> > ```
> >
> > On a non-upgraded system, we instead have:
> >
> > ```
> > #!/usr/bin/ruby.exe
> > #
> > # This file was generated by RubyGems.
> > #
> > # The application 'asciidoctor' is installed as part of a gem, and
> > # this file is here to facilitate running it.
> > #
> > ```
> > require 'rubygems'
> >
> > // Daniel
> >
> >
> > --
> > Problem reports:      https://cygwin.com/problems.html
> > FAQ:                  https://cygwin.com/faq/
> > Documentation:        https://cygwin.com/docs.html
> > Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019