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

dyld: Library not loaded: /usr/local/opt/ruby/lib/libruby.2.2.0.dylib を治した時の記録

$
0
0

症状

~/src/********** (******** ✔) ᐅ vim Vagrantfile 
dyld: Library not loaded: /usr/local/opt/ruby/lib/libruby.2.2.0.dylib
  Referenced from: /usr/local/bin/vim
  Reason: image not found
[1]    37759 trace trap  vim Vagrantfile

改善に影響を与えたと思われるコマンド群(順不同)

brew update
brew uninstall --force ruby
brew uninstall --force openssl
brew install openssl
brew link openssl --force
brew install rbenv
rbenv install 2.2.0
rbenv global 2.2.0
echo 'export PATH=/usr/local/bin:$PATH' >> ~/.zshrc
echo 'export PATH=$HOME/.rbenv/shims:$PATH' >> ~/.zshrc
CONFIGURE_OPTS="--disable-install-rdoc --enable-shared" rbenv install 2.2.0
sudo ln -s ~/.rbenv/versions/2.2.0 /usr/local/opt/ruby

Viewing all articles
Browse latest Browse all 5608

Trending Articles



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