From: "Alexandru E. Ungur" Date: 2006-04-21T16:02:35+09:00 Subject: Re: vim 7 ruby omni-complete 0.4 >>> sender: "Minkoo Seo" date: "Fri, Apr 21, 2006 at 05:56:12AM +0900" << Sorry. I forgot to mention that this error raises on Linux only. > > Minkoo Seo wrote: > > Hi. > > > > I've installed vim7.0e and rubycomplete.rb. In GVIM on Windows XP, > > everything seemed to be good. Unfortunately, however, it raises the > > following error when I press ^X, ^O: > > > > Error detected while processing function rubycomplete#Complete: > > line 21: > > NameError: (eval):143:in `get_completions': (eval):1:in > > `get_completions': uninitialized constant Foo Linux version here as well, your code works, so it's not Linux specific, but rather installation specific. # ruby -v ruby 1.8.4 (2005-12-24) [i686-linux] # vim --version VIM - Vi IMproved 7.0b BETA All the best, Alex