Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error On Running Ruby Code named "No SDKs Specified"

Tags:

ruby

rubymine

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

puts 'hellow world'

But I have a 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" best IDE for Ruby ? What IDE is used by you ?

like image 353
osimer pothe Avatar asked Mar 03 '13 07:03

osimer pothe


3 Answers

I fixed it like this (Idea 2019 Ultimate):

  • File | Project structure | Modules
  • select radio button on "Ruby SDK and Gems"
  • Apply

like image 50
LEXX Avatar answered Oct 31 '22 23:10

LEXX


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.

like image 12
CrazyCoder Avatar answered Nov 01 '22 00:11

CrazyCoder


When you create a new project, you just need to configure the SDK also for run your project screenshot

like image 1
Biplob45 Avatar answered Oct 31 '22 23:10

Biplob45