Shopify / intellij-shadowenv

MIT License
9 stars 9 forks source link

[WIP] Can plugins set the ruby sdk? #1

Closed Bringer128 closed 3 years ago

Bringer128 commented 4 years ago

A primary problem I have using Nix for setting the Ruby SDK is that nix changes the path to the Ruby executable often (the hash of the dependencies changes the entire path). My workflow at the moment is to kill RubyMine, run mine . from the shadowenv dir and then set the Ruby SDK manually through the UI.

Thought I could maybe speed this workflow up with an on-launch RubyMine thingo!

Never used gradle and the readme doesn't mention how best to build and test so this is very WIP but these APIs look promising (afaict RubyMine calls these APIs internally)

Bringer128 commented 3 years ago

Not relevant anymore due to https://youtrack.jetbrains.com/issue/RUBY-26995