-2

I am trying to run a "Run configuration". However in the run window, I get a message:

Your Ruby version is 2.2.1, but your Gemfile specified 2.5.2

So I go to the Terminal tab and I do rvm use 2.5.2. That works fine.

Then I try running the preconfig again, and I get the same error. It seems what I did it Terminal does not get picked up by the preconfig.

How do I get it to recognize it?

LazyOne
  • 158,824
  • 45
  • 388
  • 391
CodyBugstein
  • 21,984
  • 61
  • 207
  • 363

1 Answers1

0

You need to go to Settings -> Ruby SDK and Gems -> select the correct Ruby version and click apply.

TTD
  • 301
  • 1
  • 7
  • No, you can find this in the Jetbrains IDE – TTD Jul 28 '21 at 16:33
  • Deleted my previous comment, I was distracted and wrote the wrong thing. I don't see any Ruby SDK settings in Webstorm – CodyBugstein Jul 28 '21 at 16:36
  • 1
    Webstorm is by default trying to find a android SDK. Don't think it even supports Ruby. If you want to use ruby, use Rubymine. – TTD Jul 28 '21 at 16:59