Skip to content

Use bundle exec for rake in CLAUDE.md commands#785

Merged
jaredlt merged 1 commit into
mainfrom
claude-md-bundle-exec-update
Apr 7, 2026
Merged

Use bundle exec for rake in CLAUDE.md commands#785
jaredlt merged 1 commit into
mainfrom
claude-md-bundle-exec-update

Conversation

@jaredlt
Copy link
Copy Markdown
Contributor

@jaredlt jaredlt commented Mar 26, 2026

Before, some listed commands called rake directly which resulted in conflicting gem version output because rake tries to use the system RubyGems environment eg.

❯ rake standard
WARN: Unresolved or ambiguous specs during Gem::Specification.reset:
      json (~> 2.3)
      Available/installed versions of this gem:
      - 2.19.3
      - 2.18.0
      prism (~> 1.7)
      Available/installed versions of this gem:
      - 1.9.0
      - 1.8.1
WARN: Clearing out unresolved specs. Try 'gem cleanup <gem>'
Please report a bug if this causes problems.

Now, we specify bundle exec for the rake commands to use the bundled versions.

Before, some listed commands called rake directly which resulted in
conflicting gem version output because rake tries to use the system
RubyGems environment eg.

```
❯ rake standard
WARN: Unresolved or ambiguous specs during Gem::Specification.reset:
      json (~> 2.3)
      Available/installed versions of this gem:
      - 2.19.3
      - 2.18.0
      prism (~> 1.7)
      Available/installed versions of this gem:
      - 1.9.0
      - 1.8.1
WARN: Clearing out unresolved specs. Try 'gem cleanup <gem>'
Please report a bug if this causes problems.
```

Now, we specify bundle exec for the rake commands to use the bundled
versions.
@jaredlt jaredlt requested a review from laicuRoot March 26, 2026 17:11
Copy link
Copy Markdown
Contributor

@laicuRoot laicuRoot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🏌️ thank you!

@jaredlt jaredlt merged commit c9a31c5 into main Apr 7, 2026
2 checks passed
@jaredlt jaredlt deleted the claude-md-bundle-exec-update branch April 7, 2026 10:43
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