Error starting ruby ​​code named "No SDKs Specified"

I downloaded the RubyMine IDE to run ruby ​​code. I wrote the following code:

puts 'hellow world'

But I get an error when I want to run this little program. The IDE shows the following error.

"No SDKs specified"

Why? What if I want to solve this problem? I am new to this language. Can you guys help me in this regard? I also want your suggestion. Is "RubyMine" the best IDE for Ruby? What IDE are you using?

+8
source share
3 answers

Here you need to configure the SDK:

Add SDK

Use the button Add SDK...and specify the path to the ruby ​​executable on your system.

Windows Ruby, http://rubyinstaller.org/ . .


, what is the best your favorite, , FAQ.

+11

, SDK screenshot

+1

I fixed it like this (2019 Ultimate Idea):

  • File | Project structure | Modules
  • select the switch to "Ruby SDK and Gems"
  • To apply

0
source

All Articles