Trying to setup a new Rails 5.2 app in Intellij has had me tearing my hair out. It would always be detected as a
web project and then give no way of adding the Ruby on Rails module.
The resolution is to delete the
node_modules folder before creating the new project. Frustrating as this issue has been on-going for a while now.