Skip to content

Fix failing tests in czruby functions#3

Merged
yb66 merged 2 commits into
devfrom
claude/fix-gh-actions-tests-01VckHkohbUjGazGiNKeBVPJ
Nov 19, 2025
Merged

Fix failing tests in czruby functions#3
yb66 merged 2 commits into
devfrom
claude/fix-gh-actions-tests-01VckHkohbUjGazGiNKeBVPJ

Conversation

@yb66

@yb66 yb66 commented Nov 19, 2025

Copy link
Copy Markdown
Contributor
  • czruby_set_default: Check for empty argument before applying default
  • czruby_reset: Properly remove old RUBY_ROOT/bin and GEM_HOME/bin from PATH when switching rubies, preventing PATH growth
  • czruby_purge: Use readlink on Linux instead of greadlink (macOS only), and directly set RUBIES_DEFAULT to system when purging default ruby

- czruby_set_default: Check for empty argument before applying default
- czruby_reset: Properly remove old RUBY_ROOT/bin and GEM_HOME/bin from
  PATH when switching rubies, preventing PATH growth
- czruby_purge: Use readlink on Linux instead of greadlink (macOS only),
  and directly set RUBIES_DEFAULT to system when purging default ruby
Use zsh (N) glob qualifier to handle empty directories without
raising a "no matches found" error.
@yb66 yb66 merged commit 0466daf into dev Nov 19, 2025
4 checks passed
@yb66 yb66 deleted the claude/fix-gh-actions-tests-01VckHkohbUjGazGiNKeBVPJ branch November 19, 2025 06:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants