Olivia is correct, the "Project Structure." (Mac shortcut Cmd+ ) is the dialog for configuring the IDE to use different ruby installations. You can see the Ruby icon replaced the blue rectangle. Here's a screenshot of my new Ruby module. Once you've done that the module should appear with a Ruby icon on it and the rest should work as documented here: When I entered the module name it appended the name to the project's root directory which is probably not what you want. When you are prompted to enter the Module name, Content root, and Module file location, make sure the directories are set to your project's root. In the "New Module" pop-up select Ruby and the correct Module SDK (e.g. In the Modules settings, highlight the top-level project module and click the delete button (looks like a minus sign). Open the Project Structure dialog (File | Project Structure). Notice the icon is a folder with a blue rectangle in the lower, right corner. Here's a screenshot of my example project with the default Java module. There's no option to do because the existing module is configured as Java. With that module in place you cannot set a Ruby SDK at the module level. When you first open a project in IDEA, it assumes all your code is part of a Java module. It took a while to resolve because the Intellij documentation seems to be missing one critical piece. I ran into this problem with Intellij IDEA 2020.2.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |