vscode-ruby version: 0.5.3Make sure you have ruby, ruby-debug-ide and ruby-debug-basex19 installed before submitting your issue -- thank you !
Autocomplete
After install the latest vscode-ruby, autocomplete doesn't show any result, and get a error info:
Run VS Code with admin privileges so the changes can be applied.

After restarting VSCode or reinstall the extension, the problem still remains.
When I use sudo code to run VSCode, the autocomplete works, but VSCode itself warns me not to run it in root mode.
I have the same problem:
Ubuntu: 15.10
Error Backtrace:
Uncaught Exception: Error: spawn rct-complete ENOENT(anonymous function) @ editorStatus.ts:894emitTwo @ events.js:100emit @ events.js:185handleMessage @ internal/child_process.js:718channel.onread @ internal/child_process.js:444
editorStatus.ts:894 [Extension Host] Error: spawn rct-complete ENOENT
at exports._errnoException (util.js:890:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:182:32)
at onErrorNT (internal/child_process.js:348:16)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)(anonymous function) @ editorStatus.ts:894emitTwo @ events.js:100emit @ events.js:185handleMessage @ internal/child_process.js:718channel.onread @ internal/child_process.js:444
Error: spawn rct-complete ENOENT
at exports._errnoException (util.js:890:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:182:32)
at onErrorNT (internal/child_process.js:348:16)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)
spawn rct-complete ENOENT: Error: spawn rct-complete ENOENT
at exports._errnoException (util.js:890:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:182:32)
at onErrorNT (internal/child_process.js:348:16)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)
I found this is related to ruby installation way.
I use rbenv and ruby is installed under user directory (/Users/username/.rbenv/shims/ on macOS)
After switching to system ruby and install rcodetools gem, this issue seems to be resolved.
su -
gem install rcodetools
However I think it's not a clean workaround.
I wonder if this can be fixed by these config variables: https://github.com/rubyide/vscode-ruby/pull/50/files#diff-b9cfc7f2cdf78a7f4b91a753d10865a2R81
That let you use the path for ruby & rct-complete
@orta It works! Thanks.
Most helpful comment
I wonder if this can be fixed by these config variables: https://github.com/rubyide/vscode-ruby/pull/50/files#diff-b9cfc7f2cdf78a7f4b91a753d10865a2R81
That let you use the path for ruby & rct-complete