MultiModule rubymine project. WSL2 Adding a run configuration

How do I create a run configuration in RubyMine when working with a multi module project after checking it out from GIT?

I have a project that looks something like this:

root-project
  projects
    project1
    project2
    project3
  README.md

Each project is an independent module with its own Ruby setup. I can cd into each project from the terminal and run rails s and it will start the project. However I'm not sure how to do the same with the run configuration? Specifically the built in rails configuration. I'm trying to target a specific module?

When I try to create a run configuration I'm not seeing how I can target a sub module path beyond the default project root?

0

Hello Rob,

sorry for not getting back to you earlier. At the moment, there's no option to set the working dir for a Rails Run configuration because it didn't seem to be a common case so it'd be great if you could submit your request as a feature one directly on our tracker specifying which options you might need as well (https://youtrack.jetbrains.com/issues/RUBY). As a workaround, you can try creating and configuring a Gem command run configuration https://www.jetbrains.com/help/ruby/run-debug-configuration-gem-command.html

0

请先登录再写评论。