Merge pull request #483 from medlefsen/fix_mri_ruby

Ruby checker breaks with rvm when using "system" ruby
This commit is contained in:
Martin Grenfell 2013-02-26 07:46:37 -08:00
commit 2519d83569

View File

@ -16,10 +16,6 @@ endif
let g:loaded_syntastic_ruby_mri_checker=1 let g:loaded_syntastic_ruby_mri_checker=1
function! s:FindRubyExec() function! s:FindRubyExec()
if executable("rvm")
return system("rvm tools identifier")
endif
return "ruby" return "ruby"
endfunction endfunction