-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
No default toolchain #148
Comments
Are you using Rustup? And to use |
@impowski You don't need a @reportbase Did you follow https://rocket.rs/guide/getting-started/? In particular, the command |
@SergioBenitez Ah, forgot about default. |
Just want to chime in that the problem is rustup is a user installation and is affecting only your user's profile (perhaps this operates differently on Mac). I actually have the same issue. Something like using @reportbase As a work-around you can do
|
When I run: the following is returned: When I run: the following is returned: |
When I run: the following is returned: |
@reportbase This question is related to |
@reportbase I'm going to guess something is up from your rustc / rustup configuration. I don't know enough about that to answer in more detail. Sorry, I did have the same problem as you and my work around worked for me. |
If you run cargo with sudo involved and you installed rust via rustup then it executes that command as root. Since root hasn't installed cargo or rust then it will fail. You'll need to install rust via rustup for root as well so you can run sudo commands. |
@reportbase Have any of these suggestions resolved your issue? |
Let us know if you weren't able to get this working, @reportbase! |
I have the same issue on arch linux and did this: |
New user here. I closely followed the installation instructions at https://rocket.rs/guide/overview/#routing.
I'm getting the following error:
no default toolchain configured
when I run the following command.
sudo ROCKET_ENV=stage cargo run
The text was updated successfully, but these errors were encountered: