I'm new to Idea so I may be doing something wrong, but I'm struggling to get the environment set up to run Ruby and RSpec. The problem I face is that I can't add any gems to the project as there is no Gems tab in the Module section of Project Structure.
If I create a project from scratch and set it to be Ruby and a project SDK all is ok. If I go to Project Structure I can see a Gem tab under modules and I can see that RSpec is attached along with a bunch of other Gems. Global Library also contains all the Gems. I can run RSpect tests with no problem.
I created a project from a Git repository which downloaded a bunch of source files. I went to Project Structure and added a Ruby SDK - I can also see that the Global Library is full of Gems. There is no Gem tab under modules. I can add RSpec from Global Library as a Dependency. If I try to run an 'file.spec the configuration says no SDK is available for my project (module) although back in Project Structure it's definitely still added to the project.
I've got myself completely confused now and can't work out how to continue to get this working. I think I could delete the project, create a new one as a Ruby project then attach to GitHub and pull the sources - I expect that would work but it seems like the wrong approach.
Could I ask for some help please