RubySDK not found for project

Hello,

I have RubyMine (Diana) installed, and selected the exact Ruby interpreter I have installed (/opt/local/bin/ruby). When I try to run "server" to launch the application, it works only for the first application I imported into RubyMine. The error I get is:

"Run Configuration Error: No SDK specified."

As far as I can tell, there is no difference in the setup of these apps. Any help is appreciated. Thanks.

- Robert Dempsey

0
15 comments

Hi Robert,

At first please check that your interpreter is selected in Settings|Project Structure|Ruby Interpreter settings.

0

Hi Roman,

It is set and is pointing to the correct place.

- Robert

0

Ok,

1. Try to create new run configuration for rails server. Can you execute it?
2. Create new rails project from RubyMine and try to launch generated Rails server run configuration

0

I tried both and neither work.

0

It's very strange..

Ok, let's check from the beginning.
1. Open RubyMine and close all objects
2. Go to "Settings|Project Structure|Ruby Interpreter" and remove all interpreters. Press "Apply"
3. Add Ruby interpreter. (by the way what version of ruby interpreter do you use)
4. Press "apply"
5. Restart RubyMine
6. File|New Project, choose project type "rails application". Which version of rails does it show?
7. Run run configuration with name "Development: "

Does this work?

0

Hi Roman,

I did what you asked and it's a no go. Here is what we have:

1. I'm on a Mac -> 10.5
2. I'm using Ruby 1.8.7 (/opt/local/bin/ruby)
3. When I create a new Rails project it tells me that I have 2.1.1 installed.

Once the application is up, and I edit the configuration, it tells me: "Runtime configuration error: No SDK specified."

I am using RubyMine (Diana) #435. Also, it won't connect to an update server to check for updates so that too is a no go.

- Robert

0

Hey Roman,

Any updates? Thanks.

- Robert

0

Hi Robert,

We will fix the problem with update notifications in nearest future. What about SDK - I don't understand why your RubyMine doesn't work properly.

You can try another thing
1. Close RubyMine
2. Delete folders

  • /Users/romeo/Library/Caches/RubyMine10/

  • /Users/romeo/Library/Preferences/RubyMine10/

3. Run RubyMine, open "Settings|Project Structure|Ruby Interpreter" and configure ruby interpreter if it isn't confugured.
4. Create Rails Application from RubyMine

0

Hi Roman,

I did what you suggested and it's a no-go. I also installed the latest version and have the same issues.

- Robert

0

Robert,

Do you have default Ruby 1.8.6 installation on your MacOS? Please check the problem in Ruby 1.8.6.

0

I'm using 1.8.7, or more specifically, ruby 1.8.7 (2008-06-20 patchlevel 22) .

0

Hi Robert,

I've installed Ruby 1.8.7 patch level 72 via Mac Ports and everything works ok on RubyMine #472. Please close RubyMine and post content of ~/Library/Preferences/RubyMine10/options/jdk.table.xml file

0

Robert,

I've reproduced the problem so fix will be available in Next EAP.

0

Hi Roman,

I installed EAP 500 and it works like a charm. Thanks for your help and your keeping me up to date.

0

Robert,
  Develop with pleasure!

0

Please sign in to leave a comment.