Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Respect docker being an alias #6

Open
paracycle opened this issue Mar 20, 2024 · 0 comments
Open

Respect docker being an alias #6

paracycle opened this issue Mar 20, 2024 · 0 comments

Comments

@paracycle
Copy link

There are setups where the docker executable is an alias to another CLI which is a drop in replacement for docker, like podman.

Currently, this tool does not pick up those kinds of aliases, and fails with:

$ ./rails-new foo
thread 'main' panicked at src/main.rs:26:10:
Failed to execute process: Os { code: 2, kind: NotFound, message: "No such file or directory" }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

I think this might be because we are spawning a new process and not launching the new process in sub-shell.

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

No branches or pull requests

1 participant