if you're compiling it yourself, you just need to tell configure to include ruby in the buildHi Vimmers, Using Ubuntu Lucid 10.04 with vim & gvim 7.3 (Mercurial source from vim.org and then compiled on Ubuntu 10.04.) The challenge: 1. How to compile vim & gvim 7.3 WITH ruby support? Is there a compiler setting? Switch? Dependencies? 2. Which vim scripts to use? I have rails.vim in ~/.vim/plugin, rails.vim & rubycomplete.vim in ~/.vim/autoload. 4. Getting the ruby & rails vim-scripts for syntax, highlighting and autocomplete to work with vim & gvim 7.3.
./configure --help
..snip
--enable-rubyinterp=OPTS Include Ruby interpreter. default=no OPTS=no/yes/dynamic
...snip...
you'll need the ruby dev packages for ubuntu also
No comments:
Post a Comment