-
Notifications
You must be signed in to change notification settings - Fork 88
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
fix: adds debug info to install reload + fix sh source #336
Conversation
@EverlastingBugstopper Works immediately after install! 🎉 But note this is in my |
ee2bff8
to
aed4d6f
Compare
aed4d6f
to
a785812
Compare
ooh - good catch. should be all patched up now. |
Hmm, ok, not sure how but I'm back to having $ git rev-parse HEAD
a78581275daca3f98f0d03b25f157e070a79e73b
$ rover
zsh: command not found: rover
$ grep rover ~/.zshenv
$ cargo run -- install --force -l debug
Compiling rover v0.0.3 (/home/jesse/Dev/apollo/apollo-platform-devkit/packages/rover)
Finished dev [unoptimized + debuginfo] target(s) in 14.85s
Running `target/debug/rover install --force -l debug`
rover::utils::telemetry: serialized_command: Command { name: "install", arguments: {"force": Bool(true)} }
at src/utils/telemetry.rs:78
rover::utils::telemetry: is_telemetry_disabled: false
at src/utils/telemetry.rs:85
rover::utils::version: Time since last update check: 0h
at src/utils/version.rs:33
rover::utils::version: No need to check for updates. Automatic checks happen once per day
at src/utils/version.rs:41
binstall::install: Creating directory for binary
at installers/binstall/src/install.rs:34
Writing binary to /home/jesse/.rover/bin/rover
binstall::install: copying from: /home/jesse/Dev/apollo/apollo-platform-devkit/packages/rover/target/debug/rover
at installers/binstall/src/install.rs:74
binstall::install: copying to: /home/jesse/.rover/bin/rover
at installers/binstall/src/install.rs:75
binstall::install: Adding binary to PATH
at installers/binstall/src/install.rs:40
binstall::system::unix: Successfully sourced "sh".
at installers/binstall/src/system/unix.rs:39
binstall::system::unix: Successfully sourced "bash".
at installers/binstall/src/system/unix.rs:39
binstall::system::unix: updating /home/jesse/.zshenv
at installers/binstall/src/system/unix.rs:18
binstall::system::unix: Successfully sourced "zsh".
at installers/binstall/src/system/unix.rs:39
rover was successfully installed to `/home/jesse/.rover/bin/rover`.
$ rover --version
zsh: command not found: rover
$ grep rover ~/.zshenv
source "/home/jesse/.rover/env"
$ |
been trying to get this to work pretty much all day - i'm able to reproduce and confirm it doesn't reload properly on MacOS. things i've tried:
none of this seems to work and i'm not sure how i ever thought it did... |
I think the issue is that when we invoke I really... don't know how to work around this! It seems to be a solved problem with other tools maybe but I can't seem to find any blog posts or straightforward examples as to how this is done with most installers. Labelling this as blocked - we should maybe reconsider adding the "You may need to reload your terminal" message if we detect this is a fresh install. |
closed in favor of #406 |
followup to #318 - this adds some debug info, and changes the
source
command to just.
so that it also works on posix shells.@abernix if you could check out this branch locally and run
cargo run -- install --force -l debug
, test if it works without a terminal reload? if it's still broken the logs should give us some more info about what's going on.