CI: Ruby 2.4 not supported by test-unit-ruby-core
まだ誰も着手していません。
評価
調査の方向性
vendor/bundle/ruby/2.4.0/gems/test-unit-ruby-core-1.0.15/lib/core_assertions.rb の Ruby 2.4 の失敗と、test/lib/helper.rb:2 の require から始めます。CI の実行を確認して、この依存関係がどのように選択されているかを特定します。Ruby 2.4 の CI ジョブで、報告された SyntaxError なしにテストが読み込まれれば完了です。
索引モデルが issue の本文から書いたものです。
説明
The CI for Ruby 2.4 fails with a SyntaxError because the test library uses Ruby 2.5 syntax features.
Your RubyGems version (2.6.14.4) has a bug that prevents `required_ruby_version` from working for Bundler. Any scripts that use `gem install bundler` will break as soon as Bundler drops support for your Ruby version. Please upgrade RubyGems to avoid future breakage and silence this warning by running `gem update --system 3.2.3`
/home/runner/work/forwardable/forwardable/vendor/bundle/ruby/2.4.0/gems/test-unit-ruby-core-1.0.15/lib/core_assertions.rb:390: warning: possibly useless use of a variable in void context
/home/runner/work/forwardable/forwardable/vendor/bundle/ruby/2.4.0/gems/test-unit-ruby-core-1.0.15/lib/core_assertions.rb:404: warning: mismatched indentations at 'end' with 'def' at 342
/home/runner/work/forwardable/forwardable/vendor/bundle/ruby/2.4.0/gems/test-unit-ruby-core-1.0.15/lib/core_assertions.rb:413: warning: mismatched indentations at 'end' with 'module' at 74
/home/runner/work/forwardable/forwardable/vendor/bundle/ruby/2.4.0/gems/test-unit-ruby-core-1.0.15/lib/core_assertions.rb:1030: warning: mismatched indentations at 'end' with 'module' at 41
/home/runner/work/forwardable/forwardable/vendor/bundle/ruby/2.4.0/gems/test-unit-ruby-core-1.0.15/lib/core_assertions.rb:1031: warning: mismatched indentations at 'end' with 'module' at 3
/opt/hostedtoolcache/Ruby/2.4.10/x64/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:133:in `require': /home/runner/work/forwardable/forwardable/vendor/bundle/ruby/2.4.0/gems/test-unit-ruby-core-1.0.15/lib/core_assertions.rb:390: syntax error, unexpected keyword_rescue, expecting keyword_end (SyntaxError)
rescue => marshal_error
^
/home/runner/work/forwardable/forwardable/vendor/bundle/ruby/2.4.0/gems/test-unit-ruby-core-1.0.15/lib/core_assertions.rb:393: syntax error, unexpected keyword_else, expecting keyword_end
else
^
/home/runner/work/forwardable/forwardable/vendor/bundle/ruby/2.4.0/gems/test-unit-ruby-core-1.0.15/lib/core_assertions.rb:1032: syntax error, unexpected keyword_end, expecting end-of-input
from /opt/hostedtoolcache/Ruby/2.4.10/x64/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:133:in `rescue in require'
from /opt/hostedtoolcache/Ruby/2.4.10/x64/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:39:in `require'
from /home/runner/work/forwardable/forwardable/test/lib/helper.rb:2:in `<top (required)>'
from /opt/hostedtoolcache/Ruby/2.4.10/x64/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /opt/hostedtoolcache/Ruby/2.4.10/x64/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
rake aborted!
Command failed with status (1)
- 主要言語
- Ruby
- スター
- 46
- フォーク
- 16
- 平均マージ
- 3分
- マージ済み PR(30日)
- 1
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ruby/forwardable のほかの issue
-
Broken link オープンbug
難易度 1/5 1時間未満 初心者へのやさしさ 55/100
ruby/forwardable#42 ·
-
Broken link オープンbug
難易度 1/5 1時間未満 初心者へのやさしさ 55/100
ruby/forwardable#41 ·
-
Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call オープン
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
ruby/forwardable#17 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
ruby/forwardable#12 · コメント 4 件 ·
ruby/forwardable の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
riscv/riscv-unified-db#2626 ·
-
Component: GLib
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
ds-drift
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
we-promise/sure#3693 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
simp/pupmod-simp-simp#395 ·