fix the fail2ban issues and other things

This commit is contained in:
2026-10-31 08:10:02 -06:00
parent c6a6bac84a
commit 17c1ba10f7
4 changed files with 99 additions and 54 deletions
+16
View File
@@ -0,0 +1,16 @@
#!/bin/bash
# Answer yes to any mise prompt (e.g. trusting config files)
export MISE_YES=1
echo "Updating mise..."
mise self-update -y
echo "Updating Ruby and Rails..."
mise upgrade --bump ruby
mise reshim
# A new Ruby's bundled gems (e.g. minitest) come with executables RubyGems
# doesn't recognise as its own, so gem update stops to ask whether to overwrite
# them. Regenerating them first lets the update go through without asking.
gem pristine --all --only-executables > /dev/null
gem update