Skip to content

Commit

Permalink
ruby: update to 3.1.4 6948
Browse files Browse the repository at this point in the history
  • Loading branch information
mickamy committed Jan 1, 2024
1 parent 4c02e3c commit eb3ff5c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docker/app/ruby/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
17 changes: 17 additions & 0 deletions note.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```


0 comments on commit eb3ff5c

Please sign in to comment.