No Ruby interpreter is configured
I'm using IntelliJ IDEA Ultimate 2020.2 and tried to configure Ruby environment.
I can't configure ruby environment, please help. I'm developing the Ruby on Rails program.
The project SDK is configured a Ruby in RVM.
I added JRuby and JRuby on Rails at Facet pane.
but modules pane says No Ruby SDK's found
when I tried to add ruby env aa
nothing changed
I clicked "OK" button but error appeared.
请先登录再写评论。
Hello,
as far as I can see the module you're trying to add SDK for is configured as a Java one, not Ruby. Could you please try readding it as a Ruby one?
Hello, Olga.
Thanks. How can I do it?
Synonyms for "that"asforwithand thatwherefromithowwhichsohitare
You can click on '-' for a module in question in File | Project Structure | Modules. Then you need to invoke + | Import module | the path to it | Open | Create module from existing sources | Apply.
Hi, Olga.
I tried it but nothing changed. Should I use Ruby Mine?
Should I add framework support in advance? and is JRuby, not Ruby, required?
Could you please attach a screenshot from the Modules tab after readding the module?
created a module from exsiting sources
Hello Olga
Probably, I solved it.
I choose "create new module" option in module pane, instead of "import module".
And designate current rails directory. After that warning in code editor disappeared
So does it mean that your project hasn't been recognized as a Ruby/Rails one on a step of importing it?
Yes. Importing didn't work, but creating new module worked.
We're working on that issue in https://youtrack.jetbrains.com/issue/RUBY-17376 so you can follow it there
Hi I'm still facing this issue. Have moved my plain ruby projects from my old laptop to my new laptop (by checkout from git repository). Using IntelliJ Ultimate 2021.1.1. (with ruby plugin). It keeps saying "NO SDK" found.
Workaround for is to open the project in Ruby mine (trial version) first, set SDK.
After that open IntelliJ Ultimate
Djvankes, is it a plain Ruby or Rails project?