kachick / times_kachick

`#times_kachick channel in chat` as a public repository. Personal Note and TODOs
https://github.com/kachick/times_kachick/issues?q=is%3Aissue+is%3Aclosed
6 stars 0 forks source link

2022-05-28 - ruby-head(ruby 3.2.0dev 8b4d2a5014) を GitHub Actions 上 TERM env 無しの `shell: 'script -q -e -c "bash {0}"'` で動かして irb とかから最新の reline 読み込ませると setupterm で死ぬ #162

Closed kachick closed 2 years ago

kachick commented 2 years ago

TL;DR

env:
  TERM: xterm-256color
shell: 'script -q -e -c "bash {0}"'

経緯 / History

/home/runner/.rubies/ruby-head/lib/ruby/3.2.0+1/reline/terminfo.rb:109:in `setupterm': The terminfo database could not be found. (Reline::Terminfo::TerminfoError)
    from /home/runner/.rubies/ruby-head/lib/ruby/3.2.0+1/reline/ansi.rb:21:in `<class:ANSI>'
    from /home/runner/.rubies/ruby-head/lib/ruby/3.2.0+1/reline/ansi.rb:6:in `<top (required)>'
    from /home/runner/.rubies/ruby-head/lib/ruby/3.2.0+1/reline.rb:5[8](https://github.com/kachick/terminal-progress_bar/runs/6626266073?check_suite_focus=true#step:4:9)0:in `require'
    from /home/runner/.rubies/ruby-head/lib/ruby/3.2.0+1/reline.rb:580:in `<top (required)>'
    from /home/runner/.rubies/ruby-head/lib/ruby/3.2.0+1/irb.rb:[13](https://github.com/kachick/terminal-progress_bar/runs/6626266073?check_suite_focus=true#step:4:14):in `require'
    from /home/runner/.rubies/ruby-head/lib/ruby/3.2.0+1/irb.rb:13:in `<top (required)>'