Click "Ruby" label at bottom left of the VSCode window -> Click "Configure 'Ruby' language based settings…"
Add the following setting at the cursor position:
"editor.insertSpaces": true, "editor.tabSize": 2,