mastodon.zunda.ninja is one of the many independent Mastodon servers you can use to participate in the fediverse.
Zundon is a single user instance as home of @zundan as well as a test bed for changes of the code.

Administered by:

Server stats:

1
active users

$ cat t.rb
require 'continuation'

define_singleton_method(:a) do
callcc do |c|
Object.new.tap do |o|
o.define_singleton_method(:==) do |other|
c.call(other)
end
end
end
end

puts (a == 1 && a == 2 && a == 3)
$ ruby -v t.rb
ruby 2.3.1p112 (2016-04-26) [x86_64-linux-gnu]
/usr/lib/x86_64-linux-gnu/ruby/2.3.0/continuation.so: warning: callcc is obsolete; use Fiber instead
true
$ rbenv local 2.5.0
$ ruby -v t.rb
ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-linux]
:
true

これがね、macOSだとね、
$ ruby -v t.rb
ruby 2.3.3p222 (2016-11-21 revision 56859) [universal.x86_64-darwin17]
:
t.rb:5: [BUG] Bus Error at 0x007fff53772d0e
ruby 2.3.3p222 (2016-11-21 revision 56859) [universal.x86_64-darwin17]
-- Control frame information -----------------------------------------------
c:0004 p:---- s:0010 e:000009 CFUNC :callcc
c:0003 p:0009 s:0007 E:0003e0 LAMBDA t.rb:5 [FINISH]
c:0002 p:0026 s:0005 E:0025d0 EVAL t.rb:14 [FINISH]
c:0001 p:0000 s:0002 E:002190 (none) [FINISH]
:

zunda

2.5.0だとおっけーだ

$ ruby -v t.rb
ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-darwin17]
/Users/zunda/.rbenv/versions/2.5.0/lib/ruby/2.5.0/x86_64-darwin17/continuation.bundle: warning: callcc is obsolete; use Fiber instead
true