I'm trying to build Tic Tac Toe via Ruby, and I want Ruby file to be executable so everyone can run it.
The problem is: I'm using Windows 10, and I'm not able to make the file executable:
- I've tried to make it executable using Right Click and via the Security tab
- I've also tried following this guide but didn't work.
- When I'm putting
#!/usr/bin/env ruby
at the top of the file, Rubocop is throwing error telling me that this file is not executable
I've searched everywhere, but couldn't find a solution. I would be thankful if you can help me solve this problem.