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

I uninstalled the previous version of rustlings and cloned the latest version of rustlings again, but after installing, I encountered problems running rustlings #2089

Closed likko-liu closed 3 weeks ago

likko-liu commented 3 weeks ago
$:~/rust/rustlings$ rustlings
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
mo8it commented 2 weeks ago

I hope that you found out how to use this since you closed the issue. In case not, please see my comment in this duplicate issue: https://github.com/rust-lang/rustlings/issues/2090

likko-liu commented 2 weeks ago

Yes, thank you, I found the reason. It was because I cloned the source code locally according to the previous ver:5.x.x installation operation, and then used the install command of ver:6.x.x, which caused the error.