diff -r f530aef0d959 runtime/ftplugin/ruby.vim --- a/runtime/ftplugin/ruby.vim Wed Oct 12 22:02:14 2011 +0200 +++ b/runtime/ftplugin/ruby.vim Thu Oct 13 10:23:04 2011 +0900 @@ -73,11 +73,11 @@ if exists("g:ruby_path") let s:ruby_path = g:ruby_path elseif has("ruby") && has("win32") - ruby VIM::command( 'let s:ruby_path = "%s"' % ($: + begin; require %q{rubygems}; Gem.all_load_paths.sort.uniq; resc