-
Notifications
You must be signed in to change notification settings - Fork 2
Ruby: mri
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 martin.grenfell@gmail.com
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'
[Syntastic Wiki][0] [0]: https://github.com/scrooloose/syntastic/wiki/