Cannot create Ruby SDK version 1.0.13698

Just fresh installed IntelliJ IDEA 7.0.2 Build #7590 and plugin version 1.0.13698

Nothing happens when I try to add a Ruby SDK in the Project Setting page.
Get the below stack traces in the Intellij log. Also get the "main.rb file cannot be null" failure when I start Intellij up
Anyone have a work around? Can't do much without a Ruby SDK.


2008-01-21 14:45:02,500 ERROR - gins.ruby.ruby.sdk.RubySdkType - Assertion failed: main.rb file cannot be null
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:89)
at org.jetbrains.plugins.ruby.ruby.sdk.RubySdkType.setupSdkPaths(RubySdkType.java:178)
at com.intellij.openapi.projectRoots.SdkType.setupSdkPaths(SdkType.java:52)
at com.intellij.openapi.roots.ui.configuration.projectRoot.ProjectJdksModel.doAdd(ProjectJdksModel.java:42)

.....

2008-01-21 14:45:02,500 ERROR - gins.ruby.ruby.sdk.RubySdkType - IntelliJ IDEA 7.0.2 Build #7590
2008-01-21 14:45:02,500 ERROR - gins.ruby.ruby.sdk.RubySdkType - JDK: 1.6.0_02
2008-01-21 14:45:02,500 ERROR - gins.ruby.ruby.sdk.RubySdkType - VM: Java HotSpot(TM) Client VM
2008-01-21 14:45:02,500 ERROR - gins.ruby.ruby.sdk.RubySdkType - Vendor: Sun Microsystems Inc.
2008-01-21 14:45:02,500 ERROR - gins.ruby.ruby.sdk.RubySdkType - OS: Windows XP
2008-01-21 14:45:02,515 ERROR - com.intellij.ide.IdeEventQueue - Error during dispatching of java.awt.event.InvocationEvent[INVOCATION_DEFAULT,runnable=com.intellij.ui.popup.PopupFactoryImpl$ActionPopupStep$1@1ebc255,notifier=null,catchExceptions=false,when=1200948299718] on sun.awt.windows.WToolkit@ca3783
java.lang.NullPointerException
at org.jetbrains.plugins.ruby.ruby.sdk.RubySdkType.setupSdkPaths(RubySdkType.java:179)
at com.intellij.openapi.projectRoots.SdkType.setupSdkPaths(SdkType.java:52)
at com.intellij.openapi.roots.ui.configuration.projectRoot.ProjectJdksModel.doAdd(ProjectJdksModel.java:42)
at com.intellij.openapi.roots.ui.configuration.projectRoot.ProjectJdksModel$3.actionPerformed(ProjectJdksModel.java:2)

1 comment
Comment actions Permalink

Hello, rrussel!
It seems that you have ruby plugin installed incorrectly. How did you installed ruby plugin?

0

Please sign in to leave a comment.