title: Vim ruby autocomplete
body: <p>I give up. This </p>
  
  <pre><code> 51   if !exists('g:neocomplcache_omni_patterns')
   52        let g:neocomplcache_omni_patterns = {}
   53   endif
   54
   55   if !exists('g:neocomplcache_omni_functions')
   56        let g:neocomplcache_omni_functions = {}
   57   endif
   58   let g:neocomplcache_omni_patterns['ruby'] = '[^. \t]\.\w*'
   59   let g:neocomplcache_omni_functions['ruby'] = 'rubycomplete#Complete'
   60   autocmd FileType ruby set omnifunc=rubycomplete#Complete
  </code></pre>
  
  <p>is a part of my .gvimrc file. </p>
  
  <p>The problem is that I can't setup omni autocompletion for ruby. If I type C-x C-y it works, but not while I'm writing code. It works fine for php, html, css etc</p>