-
Notifications
You must be signed in to change notification settings - Fork 28
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
working directory is invalid on windows #19
Comments
Same on my new machine, no ruby nor rails installed, just rails-new 0.3.0, wsl is on 2.2.4.0, docker -v gets Docker version 27.0.3, build 7d4bcd8, installed in wsl2 mode. Full backtrace looks like this:
|
I've probably found the source of the issue, but I am unable to propose a fix as I am not proficient in Rust. I'd bet that the working directories set for the docker image run command in the
With the error clearly replicated. If the command would encode the path for the direcory as
Sorry, i am unable to make PR as I do not use Rust. |
Could you try the new version 0.4.1? |
Tried it out with 0.4.1 Following error now appears (with
|
Hi,
|
Yup, same error with me using 0.4.1. ..too many colons. As above, it is trying to run the docker command with the windows style path. I guess it needs to convert the string alright into linux stylee. |
Working on Windows 11
$ wsl -v
WSL version: 2.1.5.0
Kernel version: 5.15.146.1-2
WSLg version: 1.0.60
MSRDC version: 1.2.5105
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.22631.3672
Same result in git-bash and Powershell
$ ruby -v
ruby 3.3.2 (2024-05-30 revision e5a195edf6) [x64-mingw-ucrt]
$ rails -v
Rails 7.2.0.beta2
$ docker -v
Docker version 26.1.1, build 4cf5afa
$ rails-new -V
rails-new 0.3.0
$ rails-new rails_new720_b2 --database=postgresql -a propshaft --devcontainer
docker: Error response from daemon: the working directory 'C:\Users<user>\Documents<dir>' is invalid, it needs to be an absolute path.
The text was updated successfully, but these errors were encountered: