Quantcast
Channel: Vimタグが付けられた新着記事 - Qiita
Viewing all articles
Browse latest Browse all 5608

Vim not working on macOS High Sierra(10.13.3)

$
0
0

以下のようなエラーが...

> vim hoge.txt
dyld: Library not loaded: /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/libruby.2.0.0.dylib
  Referenced from: /usr/local/Cellar/macvim/7.4-73_1/MacVim.app/Contents/MacOS/Vim
  Reason: image not found

解決策

以下の2つを実施

> brew update
Already up-to-date.
> brew upgrade macvim
==> Upgrading 1 outdated package, with result:
macvim 8.0-145
==> Upgrading macvim --with-override-system-vim --with-lua --with-luajit
==> Installing dependencies for macvim: cscope, lua, luajit
==> Installing macvim dependency: cscope
==> Downloading https://homebrew.bintray.com/bottles/cscope-15.8b.high_sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring cscope-15.8b.high_sierra.bottle.tar.gz
🍺  /usr/local/Cellar/cscope/15.8b: 11 files, 715.2KB
==> Installing macvim dependency: lua
==> Downloading https://homebrew.bintray.com/bottles/lua-5.3.4_2.high_sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring lua-5.3.4_2.high_sierra.bottle.tar.gz
==> Caveats
Please be aware due to the way Luarocks is designed any binaries installed
via Luarocks-5.3 AND 5.1 will overwrite each other in /usr/local/bin.

This is, for now, unavoidable. If this is troublesome for you, you can build
rocks with the `--tree=` command to a special, non-conflicting location and
then add that to your `$PATH`.
==> Summary
🍺  /usr/local/Cellar/lua/5.3.4_2: 147 files, 752.9KB
==> Installing macvim dependency: luajit
==> Downloading https://homebrew.bintray.com/bottles/luajit-2.0.5.high_sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring luajit-2.0.5.high_sierra.bottle.tar.gz
🍺  /usr/local/Cellar/luajit/2.0.5: 31 files, 1.9MB
==> Installing macvim --with-override-system-vim --with-lua --with-luajit
==> Downloading https://github.com/macvim-dev/macvim/archive/snapshot-145.tar.gz
==> Downloading from https://codeload.github.com/macvim-dev/macvim/tar.gz/snapshot-145
######################################################################## 100.0%
==> ./configure --with-features=huge --enable-multibyte --with-macarchs=x86_64 --enable-perlinterp --enable-rubyint
==> make
🍺  /usr/local/Cellar/macvim/8.0-145: 2,156 files, 34.3MB, built in 1 minute 27 seconds
>

Viewing all articles
Browse latest Browse all 5608

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>