1

I use Visual Studio Code for my IDE, and I typically write Python. I just installed Ruby on my Windows 10 Computer and for some reason Visual Studio Code will not give me the Option to run a ruby file.

I downloaded the extension to ruby, and it appears installed, so I don't understand why this is happening. Does Anybody know how to fix this?

enter image description hereenter image description here enter image description here

1
  • Do note that Play button for Python files comes from the Python extension for VS Code itself, not VS Code overall. Commented Jun 1, 2020 at 21:30

1 Answer 1

1

You need to go to extensions and type ruby and install VSCode Ruby after that set the path C:\Ruby27-x64\bin in System properties > Environment Variables > Edit Environment Variables

Restart VS Code Editor that it that should do the trick

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.