Rvm is acting and disabling vim

I am using OSX mavericks. I installed vim using homebrew, which worked fine for several months, but at some point rvm started acting and throwing critical errors every time I opened the console. I uninstalled ~/.rvmand reinstalled it from scratch, which solved the problem, but today, when I tried to use vim, I received this message:

➜  ~  vim
dyld: Library not loaded: /Users/yo/.rvm/rubies/ruby-2.1.1/lib/libruby.2.1.0.dylib
  Referenced from: /usr/local/bin/vim
  Reason: image not found
[1]    75365 trace trap  vim

The strangest thing is that I don’t even have Ruby 2.1.1. I used to install it before uninstalling ~/.rvm, but when I reinstalled rvm, I upgraded to ruby ​​2.1.2.

Any ideas?

+4
source share
1 answer

brew reinstall vim worked for me.

0
source

Source: https://habr.com/ru/post/1546533/


All Articles