Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Mar 2023 11:38:40 +0200
From:      Matthias Fechner <mfechner@freebsd.org>
To:        Yasuhiro Kimura <yasu@FreeBSD.org>
Cc:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   Re: git: 097770c474d4 - main - Mk/bsd.default-versions.mk: Change default version of Ruby
Message-ID:  <023dd4ce-eb57-9421-7668-82f127a018e4@freebsd.org>
In-Reply-To: <20230316.173327.1276492844352812821.yasu@FreeBSD.org>
References:  <0bffce9b-6d0c-d55f-a0b0-41e6c5a87475@freebsd.org> <20230316.155435.654841228738236445.yasu@utahime.org> <e26d6ef5-c790-702a-5de9-2a8d2a41b535@freebsd.org> <20230316.173327.1276492844352812821.yasu@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 16.03.2023 um 10:33 schrieb Yasuhiro Kimura:
> Googling with this error message lists following pages.
>
> (a) ruby on rails - visit_Psych_Nodes_Alias: Unknown alias: default (Psych::BadAlias) - Stack Overflow
>      https://stackoverflow.com/questions/71191685/visit-psych-nodes-alias-unknown-alias-default-psychbadalias
> (b) Defect #35435: Psych 4: aliases in database.yml cause Psych::BadAlias exception - Redmine
>      https://www.redmine.org/issues/35435
> (c) Psych 4 included in Ruby 3.1 complains when using aliases in config · Issue #5140 · sidekiq/sidekiq
>      https://github.com/sidekiq/sidekiq/issues/5140
>
> According to them,
>
> 1. In Ruby 3.1 Psych is updated to 4.
> 2. There is incompatibility between Psych 3 and Psych 4.
> 3. To make program work with both Psych 3 and 4, a bit complex
>     handling such as one written in first answer of (a) is necessary.
> 4. One workaround is to add "gem 'psych', '~> 3.1'" to gemfile.

thanks a lot, I have now a working setup and already pushed the fix.

Gruß
Matthias

-- 

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?023dd4ce-eb57-9421-7668-82f127a018e4>