Search code examples
rubyrubymine

Error On Running Ruby Code named "No SDKs Specified"


I have downloaded RubyMine IDE to run Ruby code. I have written the following code:

puts 'hello world'

But I have an error when I want to run this smallest program. The IDE shows the following error:

"No SDKs specified"

Why ? What to do if I want to solve this problem ? I am a beginner in this language. Can you guys help me in this regard ? Also, I want your suggestion: Is "RubyMine" the best IDE for Ruby ? What IDE do you use ?


Solution

  • You need to configure the SDK here:

    Add SDK

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

    On Windows you should install Ruby using http://rubyinstaller.org/ binary release. Not the source package.


    Questions like what is the best or your favorite are not welcome on this site, refer to the FAQ.