Skip to content

Instantly share code, notes, and snippets.

View yahonda's full-sized avatar

Yasuo Honda yahonda

View GitHub Profile
$ ruby -v
ruby 4.1.0dev (2026-08-25T14:03:04Z master 17026737cc) +PRISM [x86_64-linux]
$ ruby rep.rb
rep.rb:3: [BUG] Segmentation fault at 0x0000000000000000
ruby 4.1.0dev (2026-08-25T14:03:04Z master 17026737cc) +PRISM [x86_64-linux]
-- Control frame information -----------------------------------------------
c:0004 p:0010 s:0022 e:000014 l:n b:---- r:(nil) BLOCK rep.rb:3
c:0003 p:0024 s:0012 e:000011 l:y b:0001 r:(nil) METHOD <internal:numeric>:262
c:0002 p:0016 s:0007 E:000518 l:n b:---- r:(nil) EVAL rep.rb:3 [FINISH]
$ RUBY_IMAGE=rubylang/ruby:master docker compose -f .buildkite/docker-compose.yml build base
[+] Building 270.4s (23/25)
=> [internal] load local bake definitions 0.0s
=> => reading from stdin 568B 0.0s
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 6.50kB 0.0s
=> [internal] load metadata for docker.io/rubylang/ruby:master 2.1s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [ 1/20] FROM docker.io/rubylang/ruby:master@sha256:7174ce49398bcf026e28b3946430cb253dbe1c9cc7d5 10.9s
#4 Patched PostgreSQL : NOT ENFORCED -> ENFORCED restires pg_trigger tgdeferrable and tginitdeferred value to t
```
postgres=# select version();
version
--------------------------------------------------------------------
PostgreSQL 19devel on x86_64-linux, compiled by gcc-15.2.1, 64-bit
(1 row)
#3 NOT ENFORCED -> ENFORCED resets pg_trigger tgdeferrable and tginitdeferred value to f
```
postgres=# select version();
version
-----------------------------------------------------------------------------------------------------------------------------
PostgreSQL 18.3 (Homebrew) on aarch64-apple-darwin25.2.0, compiled by Apple clang version 17.0.0 (clang-1700.6.3.2), 64-bit
(1 row)
postgres=# CREATE TABLE parent (
id INT PRIMARY KEY
#2 It raises "ERROR: insert or update on table "child" violates foreign key constraint "child_parent_fk"
```
postgres=# select version();
version
-----------------------------------------------------------------------------------------------------------------------------
PostgreSQL 18.3 (Homebrew) on aarch64-apple-darwin25.2.0, compiled by Apple clang version 17.0.0 (clang-1700.6.3.2), 64-bit
(1 row)
postgres=# CREATE TABLE parent (
#1 It should raise "ERROR: insert or update on table "child" violates foreign key constraint "child_parent_fk" but does not
```sql
postgres=# select version();
version
-----------------------------------------------------------------------------------------------------------------------------
PostgreSQL 18.3 (Homebrew) on aarch64-apple-darwin25.2.0, compiled by Apple clang version 17.0.0 (clang-1700.6.3.2), 64-bit
(1 row)
postgres=# CREATE TABLE parent (
id INTEGER PRIMARY KEY,
$ RUBY_IMAGE=rubylang/ruby:master docker compose -f .buildkite/docker-compose.yml build base
docker tag buildkite-base buildkite_base
[+] Building 585.2s (27/27) FINISHED
=> [internal] load local bake definitions 0.0s
=> => reading from stdin 610B 0.0s
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 6.72kB 0.0s
=> [internal] load metadata for docker.io/rubylang/ruby:master 2.3s
=> [auth] rubylang/ruby:pull token for registry-1.docker.io 0.0s
=> [internal] load .dockerignore
$ RUBY_IMAGE=ruby:3.4 docker compose -f .buildkite/docker-compose.yml build base
docker tag buildkite-base buildkite_base
[+] Building 403.2s (27/27) FINISHED
=> [internal] load local bake definitions 0.0s
=> => reading from stdin 598B 0.0s
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 6.72kB 0.0s
=> [internal] load metadata for docker.io/library/ruby:3.4 2.5s
=> [auth] library/ruby:pull token for registry-1.docker.io 0.0s
=> [internal] load .dockerignore
@yahonda
yahonda / gist:304a82326fd65f6ef5450edacf76ab97
Created December 8, 2025 06:58
Not installing bundler
```
% RUBY_IMAGE=rubylang/ruby:master docker compose -f .buildkite/docker-compose.yml build --pull base
docker tag buildkite-base buildkite_base
CI=1 docker compose -f .buildkite/docker-compose.yml run -e PRE_STEPS -e RACK --rm railties runner railties 'rake test'
[+] Building 243.8s (26/26) FINISHED
=> [internal] load local bake definitions 0.0s
=> => reading from stdin 632B 0.0s
=> [internal] load build
~/src/github.com/rails/rails % RUBY_IMAGE=rubylang/ruby:master docker compose -f .buildkite/docker-compose.yml build --pull base
docker tag buildkite-base buildkite_base
CI=1 docker compose -f .buildkite/docker-compose.yml run -e PRE_STEPS -e RACK --rm railties runner railties 'rake test'
[+] Building 543.5s (26/26) FINISHED
=> [internal] load local bake definitions 0.0s
=> => reading from stdin 632B 0.0s