Comments (2)
Oh dear, nevermind.
This is actually a setup-issue. Archlinux' Ruby package skips stdlib-Gems if they're already packages, and as it turns out, the ruby-psych
package for Archlinux is newer than the Psych version included in 3.0. In Ruby 3.0.x, the Psych version is 3.3.2, which is not affected by this.
However, Ruby 3.1 is using Psych 4, and then this script explodes. I'll leave this issue open in relation to #8369 as we'd have to fix that anyway, but I'll adjust it accordingly.
from diaspora.
This is actually a setup-issue.
I was very surprised, as I tested 3.0 a lot and didn't get this problem. I only had this problem with 3.1 (but I didn't have the time yet to dig into it and closer analyze it, so thanks for that 🍪 ).
Alternatively,
YAML.load_file(path, aliases: true)
would also work in this case. Unfortunately, we can't make this change right now, and would have to wait until we officially drop Ruby 2.7.
That's not true, aliases: true
also doesn't work with ruby 3.0, so dropping 2.7 isn't enough to do that. But what we can do after we dropped 2.7 is: YAML.safe_load_file(path, aliases: true)
, so just use the safe_
variant explicitly.
from diaspora.
Related Issues (20)
- Enable HEIF image uploads HOT 8
- Add support for raw html input in compose window to work around shortcomings of the markdown processor
- Jasmine tests are failing locally HOT 8
- notifications crash diaspora HOT 4
- Support ruby 3 HOT 2
- Updating Rubocop to the latest HOT 14
- Linked inline code blocks are impossible to visually distinguish
- API POST /api/v1/photos 500s when ImageMagick fails HOT 2
- can't run diaspora with ./script/server HOT 4
- `check_birthday_spec` is broken again...
- Setting up an account - failing big time at "human verification" HOT 1
- Repeat notifications from private posts HOT 6
- feature : ability to filter out reshared posts from public stream HOT 2
- Option to auto-expand posts in timeline
- ruby 2.7 is end of life
- Peers HOT 4
- [Develop][FreeBSD][installation] underscore js is missing HOT 1
- Unicode characters are not displayed HOT 7
- External use: empty value for cookie "remember_user_token" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from diaspora.