edgecase/vim-config

Rake task hanging

Closed this issue · 4 comments

following the install instructions, I've cdd into the ~/vim-config directory and run rake, however it seems to hang indefinitely there (over 30 minutes before I quit out at one point).

± |master ✓| → rake
 => skipping /Users/TomKiefhaber/.vimrc
 => skipping /Users/TomKiefhaber/.gvimrc
 => skipping /Users/TomKiefhaber/.vim
Cloning into '/Users/TomKiefhaber/.vim/bundle/neobundle.vim'...
remote: Counting objects: 9151, done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 9151 (delta 0), reused 0 (delta 0), pack-reused 9146
Receiving objects: 100% (9151/9151), 2.35 MiB | 2.83 MiB/s, done.
Resolving deltas: 100% (4356/4356), done.
Checking connectivity... done.
Running BundleInstall to install plugins...this will take a couple minutes.
Vim: Warning: Output is not to a terminal

I've run this several times and no differing results.
Perhaps worth noting I'm on a mac with El Capitan.
Any tips would be greatly appreciated.

UPDATE:
it seems that some things have actually worked and installed, but no the whole kit and kabootle. not sure if it's just very, very slow, or crapping out somewhere along the way.

Yeah, it just craps out somewhere. We haven't really figured out why. Might be best to remove the neobundle steps from the rake task and just prompt the user to run those within vim since it doesn't seem to hang if you do it that way.

diiq commented

The problem is the 'Output is not to a terminal' bit. At several points in running

vim +NeoBundleInstall +qall

some screen-pager or other ends up wanting the user to press space, and doesn't continue until they do. If you run all other parts of the rake script and then run vim +NeoBundleInstall +qall directly from the terminal, pressing space whenever ---more--- appears, it completes successfully.

Closing due to inactivity. If this is still a problem I'd be glad to merge in a PR with a fix.

Just encountered this same thing. Hitting space a bunch unblocked the terminal and the install completed.