From c658f06756238b3ba95ea7ec9b74bf1f916a6b7b Mon Sep 17 00:00:00 2001 From: Matt Edlefsen Date: Tue, 5 Feb 2013 07:01:46 -0500 Subject: [PATCH] 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. --- syntax_checkers/ruby/mri.vim | 4 ---- 1 file changed, 4 deletions(-) diff --git a/syntax_checkers/ruby/mri.vim b/syntax_checkers/ruby/mri.vim index ed60318f..d7db3bdf 100644 --- a/syntax_checkers/ruby/mri.vim +++ b/syntax_checkers/ruby/mri.vim @@ -10,10 +10,6 @@ " "============================================================================ function! s:FindRubyExec() - if executable("rvm") - return system("rvm tools identifier") - endif - return "ruby" endfunction