https://linen.dev logo
Can't Use Shuttle v0.8.0 on Project Instance?
# help
b
Trying to use
cargo shuttle run
using the latest shuttle version, but I'm getting `Error: the version of
shuttle-service
specified as a dependency to this service (^0.8.0) is not supported by this project instance (0.7.2);` is this because the server hasn't been updated to the latest version? I've already tried deleting and recreating the app. My cargo file is using
0.8.0
for both
shuttle-service
and
shuttle-secrets
. I've been following the serenity tutorial here: https://docs.shuttle.rs/examples/serenity Here is my repo: https://github.com/jhoover4/discord-bot
Goshdarnit thats it
Saw your comment, I bet its cause my global install doesn't match the newest version
a
Copy code
shot in the dark here, but have you updated your cargo-shuttle install using `cargo install cargo-shuttle`?
just reposting my comment for visibility since I deleted it due to not being sure if that was actually the case or not - but yeah, I had this issue initially when they first updated to 0.8 and doing that fixed it
b
This is what I get for being a rust newb 🤦‍♂️
Do y'all recommend having shuttle installed globally? Or is it best practice to use it from your project's version?
a
I personally have cargo-shuttle installed globally since you'll need to use it to create/deploy projects, etc The actual shuttle services themselves you can just have installed per project as you need them
b
Ah yeah I suppose it would make the init hard too 🤔
But then your global version will always have to match whats in the project?
a
Basically yeah, but if there's any updates that are being rolled out they will typically be announced here on the server so you'll know in advance
b
It looks like it just needs to be ahead of what I have in the project
Alright thanks Josh!
a
happy to help