Last Updated: February 25, 2016
·
915
· mariusz

Speed up Vim + Ruby when using rbenv

If you noticed sluggishness of Vim while using rbenv, try adding the following line to your .vimrc file:

let g:ruby_path = system('echo $HOME/.rbenv/shims')

Similar fix for RVM:

let g:ruby_path = system('rvm current')