Skip to content
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

Is it possible to run gvim 8.2, win 10 and still use command-t #382

Closed
steinbitglis opened this issue Sep 20, 2021 · 4 comments
Closed

Is it possible to run gvim 8.2, win 10 and still use command-t #382

steinbitglis opened this issue Sep 20, 2021 · 4 comments

Comments

@steinbitglis
Copy link

I have tried a lot of different things, and I have managed to run ruby extconf.rb and make successfully, but I'm getting this message when I run ':CommandT'

command-t.vim could not load the C extension
Please see INSTALLATION and TROUBLE-SHOOTING in the help
Vim Ruby version: 2.4.10-p364
Expected version: 1.9.2-p290
For more information type: :help command-t

I've used ruby 2.4.10 to compile the thing with no error, so I don't understand why it still wants to be 1.9.2-p290.

@steinbitglis
Copy link
Author

steinbitglis commented Sep 20, 2021

What I did to compile was launch "C:\Ruby24\msys32\mingw32.exe" and export PATH=/c/Ruby24/bin:/c/Ruby24/bin/ruby_builtin_dlls:$PATH
Then I went to /c/Users/Steinbitglis/vimfiles/bundle/command-t/ruby/command-t/ext/command-t and ran ruby extconf.rb and make

Gvim seems to be happy and runs ruby statements
"ruby extconf.rb" seems happy
"make" runs with no issue

@steinbitglis
Copy link
Author

The reason for the message regarding 1.9.2-p290 was that i had an old install of command-t in another folder.
When I removed that, I managed to run CommandT, but it crashed for other reasons. Probably ruby 2.4 isn't compatible. I guess, that the original question stands, even though I have now rolled back to the old 1.9.2-p290 compiled version, since that's working.

@wincent
Copy link
Owner

wincent commented Sep 20, 2021

Probably ruby 2.4 isn't compatible.

In principle, there's no reason why v2.4 shouldn't work. I'm using different versions of Ruby on different machines (v2.6.3-p62 on the machine I'm on right now, albeit a macOS machine); there's nothing special about that version though, as I've used older and newer Ruby versions in different places.

One thing to bear in mind is it's always worth doing a make clean as part of any of these troubleshooting sessions, because there's always a chance that you end up not testing the artifact that you think you're testing (as you discovered with the rogue version you found in another folder).

@wincent
Copy link
Owner

wincent commented Aug 26, 2022

Given the big rewrite for v6.0.x, I'm closing all older issues as there is unlikely to be anything significant happening on the 5-x-devel branch from here on1. Feedback issue for 6.0.x is here:

Footnotes

  1. Patches and PRs would be welcome, but my personal efforts are going to be directed towards main.

@wincent wincent closed this as not planned Won't fix, can't repro, duplicate, stale Aug 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants