<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/ruby-may-finally-fix-the-famous-norway-problem--hkkhy7rxd" -->

---
title: Ruby May Finally Fix the Famous “Norway Problem” | daily.dev
description: Ruby&#x27;s Psych YAML library may soon support YAML 1.2 via an experimental opt-in backend powered by libfyaml. The change addresses the long-standing &#x27;Norway...
canonical: https://daily.dev/posts/ruby-may-finally-fix-the-famous-norway-problem--hkkhy7rxd
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Ruby May Finally Fix the Famous “Norway Problem” | daily.dev
og:description: Ruby&#x27;s Psych YAML library may soon support YAML 1.2 via an experimental opt-in backend powered by libfyaml. The change addresses the long-standing &#x27;Norway...
og:url: https://daily.dev/posts/ruby-may-finally-fix-the-famous-norway-problem--hkkhy7rxd
og:image: https://api.daily.dev/og/posts/HKKhY7rXd.png
og:image:alt: Ruby May Finally Fix the Famous “Norway Problem”
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Ruby May Finally Fix the Famous “Norway Problem”

**[RUBYLAND](https://daily.dev/sources/rubyla)** · 3 min read · 2 upvotes · 0 comments

## Summary

Ruby's Psych YAML library may soon support YAML 1.2 via an experimental opt-in backend powered by libfyaml. The change addresses the long-standing 'Norway problem' — where YAML 1.1 incorrectly parses strings like 'no' (Norway's ISO country code) as boolean false. YAML 1.2 restricts boolean parsing to only 'true' and 'false', eliminating surprising type coercions. The new libfyaml backend is opt-in to avoid breaking existing applications that rely on YAML 1.1 semantics, and represents a first step toward full YAML 1.2 compliance in Ruby.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://rubystacknews.com/2026/07/21/ruby-may-finally-fix-the-famous-norway-problem>

## Similar posts on daily.dev

- [YAML? That’s Norway problem](https://daily.dev/posts/yaml-that-s-norway-problem-jgyckvk2a) · Programming Digest · 4 upvotes · 0 comments
- [It's not the YAML spec's fault, but](https://daily.dev/posts/it-s-not-the-yaml-spec-s-fault-but-vtobt282l) · Lobsters · 0 upvotes · 0 comments
- [In Defense of YAML](https://daily.dev/posts/in-defense-of-yaml-0iiadtzpt) · Lobsters · 0 upvotes · 0 comments
- [Localization in Ruby on Rails: Yes](https://daily.dev/posts/localization-in-ruby-on-rails-yes-ps6yj0vid) · Random Thoughts about Building Software · 2 upvotes · 0 comments
- [A Ruby YAML parser](https://daily.dev/posts/a-ruby-yaml-parser-wuvkrt9ns) · RUBYLAND · 0 upvotes · 0 comments

---

Tags: [#ruby](https://daily.dev/tags/ruby), [#rails](https://daily.dev/tags/rails)

[View this post on daily.dev](https://daily.dev/posts/ruby-may-finally-fix-the-famous-norway-problem--hkkhy7rxd)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Ruby May Finally Fix the Famous “Norway Problem”","url":"https://daily.dev/posts/ruby-may-finally-fix-the-famous-norway-problem--hkkhy7rxd","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/ruby-may-finally-fix-the-famous-norway-problem--hkkhy7rxd"},"datePublished":"2026-07-22T02:55:25.780Z","dateModified":"2026-07-22T02:55:43.594Z","description":"Ruby's Psych YAML library may soon support YAML 1.2 via an experimental opt-in backend powered by libfyaml. The change addresses the long-standing 'Norway...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/161d40e61b643d6bc5da786f7eb400af?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/161d40e61b643d6bc5da786f7eb400af?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"RUBYLAND","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"RUBYLAND","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/rubyla","url":"https://daily.dev/sources/rubyla"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/ruby-may-finally-fix-the-famous-norway-problem--hkkhy7rxd","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"ruby,rails","timeRequired":"PT3M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"RUBYLAND","item":"https://daily.dev/sources/rubyla"},{"@type":"ListItem","position":3,"name":"Ruby May Finally Fix the Famous “Norway Problem”"}]}
```

