rubycomplete unusual gem behavior?

Felix Gallo felixgallo at
Fri Apr 29 15:08:23 EDT 2011

system: ubuntu linux 10.10
ruby: 1.9.2p180 manually compiled from source
vim: 7.3 manually compiled from source with +ruby option enabled
vim-ruby: latest installed, plus the 0.9 rubycomplete version from the
rubycomplete_updates branch.

$ vi x.rb

x =

x.^X^O  -> many correct methods found

$ sudo gem install redis
Successfully installed redis-2.2.0
1 gem installed
Installing ri documentation for redis-2.2.0...
Installing RDoc documentation for redis-2.2.0...

$ vi y.rb
require 'redis'

x =

x.^X^O  -> no methods found

Note that

p x.methods

does in fact show all of the methods one might hope from the Redis
class, so it's not a syntax error or no-method problem.

I started trying to debug rubycomplete but unfortunately left my
necronomicon in the tower of mad Alzhazred in the doomed isles and now
my house is infested with shoggoths; thanks Mark Guzman.


More information about the vim-ruby-devel mailing list