skwp/dotfiles

warnings when open vim

Lumuy opened this issue · 2 comments

Lumuy commented

2018-05-27 2 35 45

I use rvm to manage ruby. The system and default ruby version is same.

maybe related

This problem occurs, if a gem was compiled against a different libruby as the currently running. For example, if one uses a ruby located in his home directory with chruby and installs gems to ~/.gem/ruby, but runs a script which calls /usr/bin/ruby, which reuses the gems installed there. In this case gem pristine --all will not help, because the gems can be linked only against one ruby version.

Anyone known how to solve this?

Happens with me also, tried solution from stackoverflow questions but the problem persists.

Lumuy commented

It's the rvm path problem in my situation.
I sovled this using rvm reset.