Merge pull request #483 from medlefsen/fix_mri_ruby
Ruby checker breaks with rvm when using "system" ruby
This commit is contained in:
commit
2519d83569
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user