Be more specific if target was not found or not executable

Open Beginner friendly
#24 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
62/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
rust
Domain
cli

Research direction

Start by reproducing the issue with scope doctor run and inspect the error path that reports .scope/bin/rbenv-configured.sh. Check the target separately for existence and executability. Done means the command gives a specific message for a missing file versus a file that exists but is not executable.

Written by the indexing model from the issue text.

Description

❯ scope doctor run
10:38:30  INFO More detailed logs at /tmp/scope/scope-root-20240123-vK6v.log
10:38:30 ERROR Critical Error. File /Users/josh.nichols/workspace/myapp/.scope/bin/rbenv-configured.sh was not executable or it did not exist.

The file does exist, but it's not executable. It should be possible to check if it exists, then if it's executable to give a better message for people working on these.

Dominant language
Rust
Stars
3
Forks
0
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Gusto/scope

All issues in Gusto/scope

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.