I'm using IntelliJ IDEA 2016.3.2 and attempting to setup a rails run/debug configuration. When attempting to set it up, I get an error saying that the rails server launcher wasn't found in the project. I've opened the directory as my root project directory where a subdirectory called bin has a rails file. I'm able to run the rails server from that same directory without any problems. I've tried deleting my .idea folder and reopening the same folder and I get similar results.
I am using rbenv with ruby version 2.3.1.