Skip to main content

git: don’t install new gems in my alexwlchan.net repo

ID
365783c
date
2026-02-01 00:21:30+00:00
author
Alex Chan <alex@alexwlchan.net>
parent
d5d40c8
message
git: don't install new gems in my alexwlchan.net repo
changed files
1 file, 1 addition, 34 deletions

Changed files

git/gm (1897) → git/gm (872)

diff --git a/git/gm b/git/gm
index 6a4cc0f..21301a8 100755
--- a/git/gm
+++ b/git/gm
@@ -14,7 +14,7 @@ ROOT="$(git rev-parse --show-toplevel)"
 #
 # The `--quiet` flag is to avoid a warning like:
 #
-#     Your branch is behind 'origin/main' by 6 commits, and can be 
+#     Your branch is behind 'origin/main' by 6 commits, and can be
 #    fast-forwarded.
 #
 # because I know I'm about to do that.
@@ -32,36 +32,3 @@ $(dirname "$0")/gp
 echo ""
 
 cleanup_branches
-
-# If we're in one of my Jekyll repositories, and the Gemfile has changed,
-# I need to update my local Ruby installation.
-if [[ $(groot) = ~/repos/alexwlchan.net ]] || \
-   [[ $(groot) = ~/repos/books.alexwlchan.net ]]
-then
-  if grep -q 'Gemfile' "$ROOT/.git/names_diff.txt"
-  then
-    echo ""
-
-    print_info "-> Updating Ruby dependencies"
-
-    echo ""
-
-    print_info "-> bundle install"
-    bundle install \
-      | grep -v Using \
-      | grep -v "to see where a bundled gem is installed." \
-      | grep -v "you directly depend on are looking for funding." \
-      | grep -v "you directly depend on is looking for funding." \
-      | grep -v "bundle fund"
-
-    echo ""
-
-    print_info "-> BUNDLE_WITH=lint bundle install"
-    BUNDLE_WITH=lint bundle install \
-      | grep -v Using \
-      | grep -v "to see where a bundled gem is installed." \
-      | grep -v "you directly depend on are looking for funding." \
-      | grep -v "you directly depend on is looking for funding." \
-      | grep -v "bundle fund"
-  fi
-fi