Remove broken rvm handling in mri ruby checker
RVM does not always provide an executable for specific ruby version that is loaded (the "system" version). RVM, or whatever else the user uses, should always setup "ruby" to point to the correct version so this can always be used.
This commit is contained in:
parent
76d1d42d64
commit
c658f06756
@ -10,10 +10,6 @@
|
|||||||
"
|
"
|
||||||
"============================================================================
|
"============================================================================
|
||||||
function! s:FindRubyExec()
|
function! s:FindRubyExec()
|
||||||
if executable("rvm")
|
|
||||||
return system("rvm tools identifier")
|
|
||||||
endif
|
|
||||||
|
|
||||||
return "ruby"
|
return "ruby"
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user