From eb3ff5cda8367144945da07b77e7d117cd1628d6 Mon Sep 17 00:00:00 2001 From: mickamy Date: Tue, 2 Jan 2024 08:47:04 +0900 Subject: [PATCH] ruby: update to 3.1.4 6948 --- docker/app/ruby/Dockerfile | 2 +- note.md | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/docker/app/ruby/Dockerfile b/docker/app/ruby/Dockerfile index eb6ad36e..6bb073af 100644 --- a/docker/app/ruby/Dockerfile +++ b/docker/app/ruby/Dockerfile @@ -21,7 +21,7 @@ RUN sudo apt-get update && \ RUN PATH="$HOME/.rbenv/bin:$PATH" && \ eval "$(rbenv init -)" && \ git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build && \ - rbenv install 2.5.1 && rbenv rehash && rbenv global 2.5.1 + rbenv install 3.1.4 && rbenv rehash && rbenv global 3.1.4 # アプリケーション RUN mkdir /home/ishocon/data /home/ishocon/webapp diff --git a/note.md b/note.md index 481fc297..ba57eb68 100644 --- a/note.md +++ b/note.md @@ -34,4 +34,21 @@ docker exec -i ishocon2-bench-1 sh -c "./benchmark --ip app:443" TZ 設定できてない :pieng: +- update ruby to 3.1.4 + +``` +❯ make bench +docker exec -i ishocon2-bench-1 sh -c "./benchmark --ip app:443" +2024/01/01 23:41:21 Start GET /initialize +2024/01/01 23:41:21 期日前投票を開始します +2024/01/01 23:41:29 期日前投票が終了しました +2024/01/01 23:41:29 投票を開始します Workload: 3 +2024/01/01 23:42:15 投票が終了しました +2024/01/01 23:42:15 投票者が結果を確認しています +2024/01/01 23:42:31 投票者の感心がなくなりました +2024/01/01 23:42:31 {"score": 6948, "success": 6324, "failure": 0} + +~/ghq/github.com/mickamy/ISHOCON2 imp1* 1m 11s +``` +