起きなくちゃ。ぐうばたり。
Ruby version 3.3.0 is now available | Heroku Dev Center https://devcenter.heroku.com/changelog-items/2772
よっこいし
$ git -C ~/.rbenv/plugins/ruby-build pull
$ rbenv install 3.3.0
$ rbenv local 3.3.0
$ sed -i s/3.3.0.rc1/3.3.0/ Gemfile
$ sed -i s/3.3.0.rc1/3.3.0/ Gemfile.lock
$ bundle install
$ RAILS_ENV=test bundle exec rails assets:precompile
$ RAILS_ENV=test bundle exec rspec
:
1) RequestPool#with grows to the number of threads accessing it
Failure/Error: expect(subject.size).to be > 1
expected: > 1
got: 1
# ./spec/lib/request_pool_spec.rb:48:in `block (3 levels) in <top (required)>'
:
ときどき落ちるんだよなあ…
Finished in 10 minutes 27 seconds (files took 39.31 seconds to load)
5659 examples, 1 failure, 81 pending
Failed examples:
rspec ./spec/lib/request_pool_spec.rb:31 # RequestPool#with grows to the number of threads accessing it
:
もういっちょ
$ RAILS_ENV=test bundle exec rspec
Finished in 10 minutes 22 seconds (files took 24.8 seconds to load)
5659 examples, 1 failure, 81 pending
Failed examples:
rspec ./spec/lib/request_pool_spec.rb:31 # RequestPool#with grows to the number of threads accessing it
ぐぬぬん
$ RAILS_ENV=test bundle exec rspec ./spec/lib/request_pool_spec.rb:31
:
Randomized with seed 6796
1/1 |========================= 100 ==========================>| Time: 00:00:01
Finished in 1.44 seconds (files took 12.67 seconds to load)
1 example, 0 failures
:
多分動くと思うから
弊ぼっちのRubyが3.3.0になりました