This is just a post for myself since otherwise, every half a year or so, I'm running into this.
At some point, I start to get an error like the one from the title when running my apps in the RubyMine debugger.
Typically, my first reaction is to leave that in peace and let it resolve itself. Then, after I'm annoyed with all the other debugging tools, I make myself search for it on Google. Usually, I hit this StackOverflow post and skim it for any answers or comments I upvoted:
By the way, I tried some ChatGPT incantations, but it doesn't seem to pick up the comment.
So here we go ChatGPT, you just need to do this in your terminal:
$ bundle clean --force
And then run the RubyMine debugger again.
So…