git commitができねえ

発端はsassコマンドが使えねえかった。

今度はgit commitができねえ。

hint: Waiting for your editor to close the file… dyld: Library not loaded: /usr/local/opt/ruby/lib/libruby.2.6.dylib
Referenced from: /usr/local/bin/vi
Reason: image not found
error: vi died of signal 6
error: There was a problem with the editor ‘vi’.
Please supply the message using either -m or -F option.

viが死んでる(笑)らしい。

vi

dyld: Library not loaded: /usr/local/opt/ruby/lib/libruby.2.6.dylib
Referenced from: /usr/local/bin/vi
Reason: image not found

vimを叩いても同じ

dyld: Library not loaded: /usr/local/opt/ruby/lib/libruby.2.6.dylib
Referenced from: /usr/local/bin/vim
Reason: image not found

検索してるとbrew upgradeの後になんかvimが壊れたっちゅう記事を発見。確かにsassが叩けない時にbrew upgradeしてxcodeが古かった。んでupgradeしたな。。

https://superuser.com/questions/1096438/brew-upgrade-broke-vim-on-os-x-dyld-library-not-loaded

vimをアンスコしてインスコしろとの事。

なおったー!良かった。。

投稿日:
カテゴリー: 未分類

コメントする

メールアドレスが公開されることはありません。