MordechaiHadad / bob

A version manager for neovim
MIT License
1.41k stars 36 forks source link

Can install, but cannot use neovim #197

Closed kurt-rhee closed 4 months ago

kurt-rhee commented 4 months ago

I am able to download bob I can download the latest version of neovim I cannot use the latest version of neovim I am using Ubuntu 22.04

bob ls indicates that the versions are installed image image

I have added bob to my path image

I have also tried: image

Each time I use source ~/.bashrc to update my bashrc.

mikesmithgh commented 4 months ago

I just saw this as well. I installed bob on a completely fresh install of Ubuntu.

no-bob-error

It looks like when there is no existing nvim in the ~/.local/share/bob/nvim-bin/ it will throw this error.

FYI @kurt-rhee I worked around this by manually copying nvim from ~/.local/share/bob/nightly/nvim-linux64/bin to ~/.local/share/bob/nvim-bin/.

After that, all works as expected.

MordechaiHadad commented 4 months ago

Hello apologies for the faulty release (did not take this edge case in consideration), could you test PR #199 ?

The following steps to follow in order to test:

  1. Uninstall bob from your system
  2. Reinstall the branch with: cargo install --git https://github.com/MordechaiHadad/bob --branch fix/nvim-proxy
  3. Run bob erase
  4. And then bob use nightly
  5. And try to run neovim.
MordechaiHadad commented 4 months ago

@mikesmithgh @kurt-rhee could you guys verify the PR fixes this?

kurt-rhee commented 4 months ago

Hey @MordechaiHadad thanks for the quick response. I work in Pacific time, so may not be able to give timely responses, but I was able to try the fix/nvim-proxy branch and everything is working on my side.

image

MordechaiHadad commented 4 months ago

Hey @MordechaiHadad thanks for the quick response. I work in Pacific time, so may not be able to give timely responses, but I was able to try the fix/nvim-proxy branch and everything is working on my side.

image

All good, neovim launches correctly?