Hi,
Love the initiative, I've been jealous of these libraries and wished for something like this in Ruby!
I tried the hello world example from https://charm-ruby.dev but it's segfaulting when I try to run it on both Fedora 43 and Debian 13
I've also tried inside of Docker and gotten the same issue with docker run --rm -it --pull always --mount type=bind,src=.,dst=/app --workdir /app ruby:4.0.0 bash
require "bubbletea"
require "lipgloss"
class HelloWorld
include Bubbletea::Model
def initialize
@style = Lipgloss::Style.new
.border(:rounded)
.border_foreground("#7D56F4")
.padding(1, 2)
end
def init = [self, nil]
def update(message)
case message
when Bubbletea::KeyMessage
return [self, Bubbletea.quit] if message.to_s == "q"
end
[self, nil]
end
def view
@style.render("Hello, Charm Ruby!\n\nPress q to quit")
end
end
Bubbletea.run(HelloWorld.new)
crash.log
Hi,
Love the initiative, I've been jealous of these libraries and wished for something like this in Ruby!
I tried the hello world example from https://charm-ruby.dev but it's segfaulting when I try to run it on both Fedora 43 and Debian 13
I've also tried inside of Docker and gotten the same issue with
docker run --rm -it --pull always --mount type=bind,src=.,dst=/app --workdir /app ruby:4.0.0 bashcrash.log