Skip to content

Commit e07811a

Browse files
committed
Fix: ensure mise shims are on PATH for bundle/yarn in registries setup
1 parent b64b1a3 commit e07811a

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

lib/registries_setup.sh

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,18 @@
33
# Private registry configuration for Bundler and Yarn.
44
# Sourced by setup.sh — do not execute directly.
55
# Requires: lib/common.sh, gh authenticated (with read:packages scope),
6-
# op authenticated, bundle on PATH, yarn on PATH.
6+
# op authenticated, Ruby + Node installed via mise.
77

88
fmt_header "Private Registries"
99

10+
# ---------------------------------------------------------------------------
11+
# Ensure mise-managed tools (bundle, yarn) are available in this session.
12+
# mise activate may not have fully populated PATH with shims yet, so we
13+
# add the shims directory explicitly.
14+
# ---------------------------------------------------------------------------
15+
16+
export PATH="$HOME/.local/share/mise/shims:$PATH"
17+
1018
# ---------------------------------------------------------------------------
1119
# GitHub credentials (used by both Bundler and Yarn)
1220
# ---------------------------------------------------------------------------

0 commit comments

Comments
 (0)