rust-lang / rustlings

:crab: Small exercises to get you used to reading and writing Rust code!
https://rustlings.cool
MIT License
52.69k stars 10.02k forks source link

rustlings command isn't running anymore. #2087

Closed o-jeddd-o closed 3 weeks ago

o-jeddd-o commented 3 weeks ago

installed the new one using the readme, followed the exact instructions and it keeps giving me the same error message: Error: You are trying to run Rustlings using the old method before version 6. The new method doesn't include cloning the Rustlings' repository. Please follow the instructions in README.md: https://github.com/rust-lang/rustlings#getting-started

but the readme is saying to run the exact line of code: rustlings.

o-jeddd-o commented 3 weeks ago

found the error.

santhosh77h commented 3 weeks ago

what is the error @o-jeddd-o ?

o-jeddd-o commented 3 weeks ago

yeah, so i forgot to add manually to path, did that and it all worked out.

mo8it commented 3 weeks ago

The problem is also that you cloned the repository. You shouldn't do that starting with version 6.