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')
Written by Mariusz Cieśla
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ruby
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#