exercism / cli

A Go based command line tool for exercism.org.
https://exercism.org/docs/using/solving-exercises/working-locally
MIT License
1.33k stars 354 forks source link

error message for submitting. error not in workspace. #965

Open darienhz opened 3 years ago

darienhz commented 3 years ago

I have already checked to make sure that the cli is up to date but I am still not able to submit my work. error message tells me that I am not in workspace.

kotp commented 3 years ago

What is the command and what is the path that you are invoking the command from?

The workspace can be found by doing:

exercism workspace

When submitting the exercise you should be within that space.

For example, if you are doing the python track, you should be located in that workspace, in ./python/hello-world/ and would submit the exercise file from there:

exercism submit hello_world.py

kotp commented 3 years ago

I was going to relocate this, but apparently I don't have rights to do so on this repository. This should be moved to https://github.com/exercism/exercism/issues rather than here, as it is not an issue with the tooling.

darienhz commented 3 years ago

I am in the hello world ruby file. I passed all the test and tried to submit with exercism submit hello_world.rb

On Wed, Oct 14, 2020 at 11:22 PM Victor Goff notifications@github.com wrote:

What is the command and what is the path that you are invoking the command from?

The workspace can be found by doing:

exercism workspace

When submitting the exercise you should be within that space.

For example, if you are doing the python track, you should be located in that workspace, in ./python/hello-world/ and would submit the exercise file from there:

exercism submit hello_world.py

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/exercism/cli/issues/965#issuecomment-708887658, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARCYDD7EQ4KEIZY7BLBYNQDSKZ2H3ANCNFSM4SRN4FKQ .

kotp commented 3 years ago

If you do cd $(exercism workspace)/ruby/hello-world ; exercism submit hello_world.rb what happens? Also, if you show exercism debug output here we might be able to help you a little better (working half blind here as we can't see what you can see).

darienhz commented 3 years ago

I will get back to you tomorrow on all of this I am heading to sleep now since I have class in the morning. Thank you for the quick response

On Wed, Oct 14, 2020 at 11:43 PM Victor Goff notifications@github.com wrote:

If you do cd $(exercism workspace)/hello-world ; exercism submit hello_world.rb what happens? Also, if you show exercism debug output here we might be able to help you a little better (working half blind here as we can't see what you can see).

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/exercism/cli/issues/965#issuecomment-708893169, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARCYDD6TA4CTMNISGEJQHWTSKZ4VNANCNFSM4SRN4FKQ .

NobbZ commented 3 years ago

It has to be cd $(exercism workspace)/ruby/hello-world, @kotp omitted the track by accident.