-
Notifications
You must be signed in to change notification settings - Fork 247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ceedling-0.31.1 error with latest rubyinstaller-3.1.0-1-x64 #657
Comments
I came across the same issue. It seems Ruby 3.1 uses psych gem version 4 which had a breaking change introduced to use The psych gem changes can be found here. |
There are some suggestions here: |
Another possible option to fix this is to add an extra argument ", aliases:true" to the calls to the YAML.load_file() function. I haven't fully tested this yet, but it seems to work for my existing test project. bin\ceedling:278: It is probably also needed on line 56 in bin\ceedling in the upgrade() function. |
Probably worth mentioning on Readme that |
Ruby 3.0.4 appears to have introduce the same package change / error -- 3.0.3 is the latest version that works for me (manjaro linux - though a colleague has the same problem/symptoms/solution on windows). |
Always use latest stable in the series if you can. 3.0.5 works.
…On Tue, Jan 10, 2023 at 15:31 DaPa ***@***.***> wrote:
Ceedling still works fine with ruby 3.0.5 on my Win10.x64 (only with 3.1.x
it fails):
[image: image]
<https://user-images.githubusercontent.com/4947697/211655668-64686e9d-271a-43d8-82bc-e0fca4e318e5.png>
—
Reply to this email directly, view it on GitHub
<#657 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AANTNMTVSY2PZSMJTEY3BJLWRXBJLANCNFSM5LWIBPJQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Fixed in PR #739 |
Same gems version is installed in both latest rubyinstaller-3.1.0-1-x64 and previous rubyinstaller-3.0.3-1-x64: ceedling-0.31.1, constructor-2.0.0, deep_merge-1.2.2 and thor-0.20.3.
In latest rubyinstaller-3.1.0-1-x64 it fails with:
Tried suggestion from #615 to uninstall psycho but it tells it's not installed?!
With previous rubyinstaller-3.0.3-1-x64 it works fine:
Seem will have to keep the previous ruby for now. Any suggestion what can be wrong? Thanks!
The text was updated successfully, but these errors were encountered: