This repository was archived by the owner on Sep 20, 2023. It is now read-only.
  
  
  - 
                Notifications
    You must be signed in to change notification settings 
- Fork 1.1k
Ruby: mri
        LCD 47 edited this page Jun 12, 2016 
        ·
        7 revisions
      
    This file exists only as a historic reference.  Documentation for syntastic
checkers is now included in the manual, please see :help syntastic-checkers
in Vim.
Maintainer: Martin Grenfell [email protected]
This checker will use your default ruby command, so in case that's not
the version you want you can override it as follows (example for 1.9 on
Debian-based systems):
let g:syntastic_ruby_exec = 'ruby1.9.1'If using rvm/rbenv, you can pass in a path directly to the executable
for the ruby version you'd prefer to use:
let g:syntastic_ruby_exec = '/usr/local/var/rbenv/versions/2.0.0-p481/bin/ruby'Please note however that g:syntastic_ruby_exec is also used by
the eruby/ruby checker.  If you don't want to
override the ruby executable for both checkers, you can set
g:syntastic_ruby_mri_exec instead:
let g:syntastic_ruby_mri_exec = '/usr/local/var/rbenv/versions/2.0.0-p481/bin/ruby'