I get a run main.rb file not found....but I deleted it why does it occur?

I deleted main.rb

But now I get errors when I press the run button. I just want to run a specific ruby script. Why does this happen? Thanks

You are viewing a single comment. View All

If you want to run a file other than main.rb, you should look into using a .replit file https://docs.replit.com/repls/dot-replit

basically make a file called .replit and write: