Skip to content

Instantly share code, notes, and snippets.

@tdkn
Last active April 10, 2016 16:18
Show Gist options
  • Save tdkn/9658339 to your computer and use it in GitHub Desktop.
Save tdkn/9658339 to your computer and use it in GitHub Desktop.
bin/neoinstall 使用時の エラー(not found in 'runtimepath': "autoload/vimproc.vim")について
" https://github.com/tdkn/dotfiles/blob/master/.vimrc
"------------------------------------------------------
"---------------
" Bundler
"---------------
if has('vim_starting')
set nocompatible " Be iMproved
set runtimepath+=~/.vim/bundle/neobundle.vim/
endif
call neobundle#rc(expand('~/.vim/bundle/'))
" Let NeoBundle manage NeoBundle
NeoBundleFetch 'Shougo/neobundle.vim'
" Recommended to install
NeoBundle 'Shougo/vimproc.vim', {
\ 'build' : {
\ 'windows' : 'make -f make_mingw32.mak',
\ 'cygwin' : 'make -f make_cygwin.mak',
\ 'mac' : 'make -f make_mac.mak',
\ 'unix' : 'make -f make_unix.mak',
\ },
\ }
" My Bundles here:
"--------------------------------------------------github.com
NeoBundle 'Shougo/unite.vim'
NeoBundle 'Shougo/neocomplcache'
NeoBundle 'Shougo/neosnippet'
NeoBundle 'Shougo/neosnippet-snippets'
NeoBundle 'honza/vim-snippets'
NeoBundle 'pangloss/vim-javascript'
NeoBundle 'thinca/vim-quickrun'
NeoBundle 'mattn/emmet-vim'
NeoBundle 'Lokaltog/vim-powerline'
NeoBundle 'scrooloose/nerdtree'
NeoBundle 'tpope/vim-surround'
NeoBundle 'tpope/vim-endwise'
NeoBundle 'tomasr/molokai'
NeoBundle 'othree/html5.vim'
"--------------------------------------------------vim.org
NeoBundle 'JavaScript-syntax'
NeoBundle 'sudo.vim'
NeoBundle 'nginx.vim'
filetype plugin indent on " Required!
" Installation check.
"NeoBundleCheck

概要

本Gistの添付ファイル

  • .vimrc
  • bootstrap.sh

再現とエラーのログ

$ cd $HOME
$ mkdir Projects
$ cd Projects
$ git clone https://github.com/tdkn/dotfiles
$ cd dotfiles
$ bash bootstrap.sh

Checking directory ...

[...省略...]

Symlinking dotfiles ...

[...省略...]

Installing Vim plugin ...

Cloning into '/home/vagrant/.vim/bundle/neobundle.vim'...
remote: Reusing existing pack: 6214, done.
remote: Counting objects: 53, done.
remote: Compressing objects: 100% (52/52), done.
remote: Total 6267 (delta 24), reused 0 (delta 0)
Receiving objects: 100% (6267/6267), 1.50 MiB | 209.00 KiB/s, done.
Resolving deltas: 100% (2563/2563), done.
Checking connectivity... done
[neobundle/install] Update started: (2014/03/20 05:20:03)
[neobundle/install] ( 1/19): |vimproc.vim| git clone --recursive https://github.com/Shougo/vimproc.vim.git "/home/vagrant/.vim/bundle/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
[neobundle/install] ( 2/19): |sudo.vim| git clone --recursive https://github.com/vim-scripts/sudo.vim.git "/home/vagrant/.vim/bundle/sudo.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
[neobundle/install] ( 3/19): |html5.vim| git clone --recursive https://github.com/othree/html5.vim.git "/home/vagrant/.vim/bundle/html5.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
[neobundle/install] ( 4/19): |vim-snippets| git clone --recursive https://github.com/honza/vim-snippets.git "/home/vagrant/.vim/bundle/vim-snippets"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
[neobundle/install] ( 1/19): |vimproc.vim| Updated
[neobundle/install] |vimproc.vim|  -> 92b34f1ed9d2f2900f6a2db964526d6f94fa3d86
[neobundle/install] Building...
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
[neobundle/install] cc -W -O2 -Wall -Wno-unused -Wno-unused-parameter -std=gnu99 -pedantic -shared -fPIC -o autoload/vimproc_unix.so autoload/proc.c -lutil
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
[neobundle/install] ( 2/19): |sudo.vim| Updated
[neobundle/install] |sudo.vim|  -> 060f0250d6f399d1cf9b15eaad3d55b3fbad4b0d
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
[neobundle/install] ( 3/19): |html5.vim| Updated
[neobundle/install] |html5.vim|  -> ccb0faf115262f20572d955a2dd8beb5260cd5a4
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
[neobundle/install] ( 4/19): |vim-snippets| Updated
[neobundle/install] |vim-snippets|  -> e868e17fd8ec48fc5033c019787cd90fcae90ae4
[neobundle/install] ( 5/19): |neocomplcache| git clone --recursive https://github.com/Shougo/neocomplcache.git "/home/vagrant/.vim/bundle/neocomplcache"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
[neobundle/install] ( 6/19): |vim-quickrun| git clone --recursive https://github.com/thinca/vim-quickrun.git "/home/vagrant/.vim/bundle/vim-quickrun"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
[neobundle/install] ( 7/19): |nginx.vim| git clone --recursive https://github.com/vim-scripts/nginx.vim.git "/home/vagrant/.vim/bundle/nginx.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
[neobundle/install] ( 8/19): |vim-powerline| git clone --recursive https://github.com/Lokaltog/vim-powerline.git "/home/vagrant/.vim/bundle/vim-powerline"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
[neobundle/install] ( 5/19): |neocomplcache| Updated
[neobundle/install] |neocomplcache|  -> da44ba4a92eef3860bdee2d96d755a7171889a70
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
[neobundle/install] ( 6/19): |vim-quickrun| Updated
[neobundle/install] |vim-quickrun|  -> 3532c2b71f4ed84bac5e4755027245b929092b04
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
[neobundle/install] ( 7/19): |nginx.vim| Updated
[neobundle/install] |nginx.vim|  -> 152bbb2dc00c2df37049ccf75f68f294208c72cb
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
[neobundle/install] ( 8/19): |vim-powerline| Updated
[neobundle/install] |vim-powerline|  -> 09c0cea859a2e0989eea740655b35976d951a84e
[neobundle/install] ( 9/19): |nerdtree| git clone --recursive https://github.com/scrooloose/nerdtree.git "/home/vagrant/.vim/bundle/nerdtree"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
[neobundle/install] (10/19): |JavaScript-syntax| git clone --recursive https://github.com/vim-scripts/JavaScript-syntax.git "/home/vagrant/.vim/bundle/JavaScript-syntax"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
[neobundle/install] (11/19): |molokai| git clone --recursive https://github.com/tomasr/molokai.git "/home/vagrant/.vim/bundle/molokai"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
[neobundle/install] (12/19): |vim-endwise| git clone --recursive https://github.com/tpope/vim-endwise.git "/home/vagrant/.vim/bundle/vim-endwise"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
[neobundle/install] ( 9/19): |nerdtree| Updated
[neobundle/install] |nerdtree|  -> b0bb781fc73ef40365e4c996a16f04368d64fc9d
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
[neobundle/install] (10/19): |JavaScript-syntax| Updated
[neobundle/install] |JavaScript-syntax|  -> e24f4aa35f7d8c18cef41bc4cc76f52db5327f80
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
[neobundle/install] (11/19): |molokai| Updated
[neobundle/install] |molokai|  -> 6255227e44d8d86e073f7aaadfacd62119d55af5
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
[neobundle/install] (12/19): |vim-endwise| Updated
[neobundle/install] |vim-endwise|  -> c3d8fe0207d572047f8cde913b70e07f34758392
[neobundle/install] (13/19): |neosnippet| git clone --recursive https://github.com/Shougo/neosnippet.git "/home/vagrant/.vim/bundle/neosnippet"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
[neobundle/install] (14/19): |emmet-vim| git clone --recursive https://github.com/mattn/emmet-vim.git "/home/vagrant/.vim/bundle/emmet-vim"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
[neobundle/install] (15/19): |vim-surround| git clone --recursive https://github.com/tpope/vim-surround.git "/home/vagrant/.vim/bundle/vim-surround"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
[neobundle/install] (16/19): |vim-javascript| git clone --recursive https://github.com/pangloss/vim-javascript.git "/home/vagrant/.vim/bundle/vim-javascript"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
[neobundle/install] (13/19): |neosnippet| Updated
[neobundle/install] |neosnippet|  -> 883b0e2efbed810aa7774089242a15e7d88154ab
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
[neobundle/install] (14/19): |emmet-vim| Updated
[neobundle/install] |emmet-vim|  -> 6577e0e68740b60f768bda3d47fb0efd05944ebb
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
[neobundle/install] (15/19): |vim-surround| Updated
[neobundle/install] |vim-surround|  -> 42e9b46e7a20a2f394664874c7bbd9d6f6c39e8a
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
[neobundle/install] (16/19): |vim-javascript| Updated
[neobundle/install] |vim-javascript|  -> f8122fd1caca68b2592553e43dad45b3dc445a06
[neobundle/install] (17/19): |neosnippet-snippets| git clone --recursive https://github.com/Shougo/neosnippet-snippets.git "/home/vagrant/.vim/bundle/neosnippet-snippets"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
[neobundle/install] (18/19): |unite.vim| git clone --recursive https://github.com/Shougo/unite.vim.git "/home/vagrant/.vim/bundle/unite.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
[neobundle/install] (19/19): |neobundle.vim| git pull --rebase && git submodule update --init --recursive
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
[neobundle/install] (17/19): |neosnippet-snippets| Updated
[neobundle/install] |neosnippet-snippets|  -> 281c851275c9b4e3c42bbb383d3e9c5d42c66786
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
[neobundle/install] (18/19): |unite.vim| Updated
[neobundle/install] |unite.vim|  -> 70bb85278fe951651185da89a2e4b6b4c15bcb7a
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
not found in 'runtimepath': "autoload/vimproc.vim"
[neobundle/install] (19/19): |neobundle.vim| Skipped
[neobundle/install] Same revision.
[neobundle/install] Installed/Updated bundles:
vimproc.vim
sudo.vim
html5.vim
vim-snippets
neocomplcache
vim-quickrun
nginx.vim
vim-powerline
nerdtree
JavaScript-syntax
molokai
vim-endwise
neosnippet
emmet-vim
vim-surround
vim-javascript
neosnippet-snippets
unite.vim

Complete!

bin/neoinstall 実行前にvimprocを導入しておけばこのエラーは出ない

  • bin/neoinstall を実行する前に git clone github:Shougo/vimproc.vim $BUNDLER/vimproc.vim であらかじめvimprocを導入しておく。
  • bootstrap.sh 内で vimproc を clone している行のコメントアウトを解除して $ bash bootstrap.sh
# https://github.com/tdkn/dotfiles/blob/master/bootstrap.sh
# --------------------------------------------------------------
DOTFILES_ROOT="`pwd`"
DOTFILES=`ls -A --ignore='[^.]*' --ignore='.git'`
SUFFIX=`date +'~%Y-%m-%d-%H:%M:%S'`
BUNDLER=~/.vim/bundle
info () {
printf "\n$1\n\n"
}
info 'Checking directory ...'
# Create directory `~/.dotfiles' if not exist
if [ ! -d ~/.dotfiles ]; then
echo "NG, directory '~/.dotfiles' not found"
echo "Create symlink : ~/.dotfiles"
echo -e "\t-> $DOTFILES_ROOT"
ln -s $DOTFILES_ROOT ~/.dotfiles
else
echo "OK, directory '~/.dotfiles' found"
fi
info 'Symlinking dotfiles ...'
# Create symlinks
cd
for file in $DOTFILES
do
echo "Create symlink : ~/$file"
echo -e "\t-> ~/.dotfiles/$file"
ln -sb --suffix=$SUFFIX .dotfiles/$file ~/$file
done
info 'Installing Vim plugin ...'
# Setup Vim plugin manager
if [ ! -d $BUNDLER ]; then
mkdir -p $BUNDLER
git clone github:Shougo/neobundle.vim $BUNDLER/neobundle.vim
# git clone github:Shougo/vimproc.vim $BUNDLER/vimproc.vim
source $BUNDLER/neobundle.vim/bin/neoinstall
else
echo "Already installed."
fi
info 'Complete!'
unset DOTFILES_ROOT
unset DOTFILES
unset SUFFIX
unset BUNDLER
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment