Hi I am trying to configure VS Code under WSL to run Ruby code. I have already installed Ruby extension and VSCode Ruby in my VS Code. I also installed ruby from official page. But when I try to run puts ("Hello world!!") it doesn't execute and doesn't show output. Thanks for your answers and advices.
EDIT : My tasks.json file now looks like this
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "start",
"type": "shell",
"command": "ruby ${file}",
"options": {
"cwd": "${fileDirname}"
},
"problemMatcher": []
}
]
}
But there is still problem it won't build or even run my code