Trouble configuring JRuby SDK
I cannot configure the JRuby SDK. I am using IntelliJ IDEA 7.0.4 and version 1.5.18749 of the Ruby plugin (downloaded today).
When I try to create a new Ruby module in an existing project, I select:
File->New Module->Create module from scratch->Ruby Module->Configure-> + JRuby SDK -> C:\downloads\Ruby\jruby-1.1.3
A progress bar pops up saying Creating SDK, Setup pathes... and stays there for hours.
Thanks for any suggestions.
--Andrew Mickish
Please sign in to leave a comment.
Hi Andrew,
Unfortunately I can't reproduce your problem on WinXP and on Mac OS.
1. What Idea build do you use?
2. Close IDEA, delete idea.log from C:\Documents and Settings\[user name]\.IntelliJIdea70\system\log then try to reproduce this problem. If problem will be reproduced send me your idea.log (my email you can find in my profile at this forum).
3. Try delete all JRuby SDKs from ->[Project Settings]->[JDKs], press "Apply", than add JRuby SDK for 1.1.3
I'm having the same issue:
IDEA 7.0.4 Build 7941 (Just downloaded)
Sun Java 1.6.0_04 (I guess it's the Vista default?)
JRuby 1.1.4
Ruby plugin 1.5.18930 (Just downloaded)
I have a Ruby 1.8.6-26 SDK configured, but the same thing happened when there was no Ruby SDK installed.
I also have a JDK 1.5.0_16 configured, but the same thing happened when it wasn't installed too. It just borks in the "Setup paths..." cylon and never comes back. It's not using any CPU time to speak of, and there's no related disk activity AFAICT, but who knows (new machine, no tools installed yet).
Before I use Task Manager to kill the IDEA process there's nothing of interest (to me, anyway ;) in the log file--I've appended it below, however.
Thanks,
Dave
(Btw, I didn't enter an email in the "create user" page off of the login screen and it threw an NPE.)
== appended idea.log file ==
2008-10-02 11:55:32,589 INFO - #com.intellij.idea.Main - -
IDEA STARTED -
2008-10-02 11:55:32,698 INFO - #com.intellij.idea.Main - Using "FocusKiller" library to prevent focus stealing.
2008-10-02 11:55:32,807 INFO - j.ide.license.impl.IdeaLicense - Network startup failed.
2008-10-02 11:55:35,085 INFO - ij.vfs.local.win32.FileWatcher - Native file watcher is operational.
2008-10-02 11:55:43,212 INFO - llij.jetConnect.reader.JetFeed - Updating JetConnect channel: hints
2008-10-02 11:55:49,000 INFO - om.intellij.util.ProfilingUtil - Profiling agent is not enabled. Add -agentlib:yjpagent to idea.vmoptions if necessary to profile IDEA.
2008-10-02 11:55:50,483 INFO - llij.jetConnect.reader.JetFeed - Updating JetConnect channel: news
2008-10-02 11:56:42,216 INFO - llij.jetConnect.reader.JetFeed - Updating JetConnect channel: hints
Dave,
You can take a thread dump as described in http://support.jetbrains.com/kb/entry!default.jspa?categoryID=4&externalID=260&fromSearchPage=true to see where the hang happens
Also we recommend you try version of plugin for Idea 8.0 (Diana) EAP. In Diana version plugin's features were significantly improved see http://www.jetbrains.net/confluence/display/RUBYDEV/RubyPlugin2.0ReleaseNotes
Do you mean use the 8.0 plugin in 7, or use 8.0?
Attached is the thread dump; it's waiting for something. Not sure what.
Thanks,
Dave
Thank you for the thread dump it seems I understand the cause of this deadlock.
I mean IDEA 8.0 EAP + Ruby Plugin 2.0. (ruby Plugin for Diana cannot be used with Selena)
The Ruby plugin doesn't show up as an available plugin on the 8.0M1 I just downloaded.
Because plugin is compatible only with latest Diana EAP (you can download it from http://www.jetbrains.net/confluence/display/IDEADEV/Diana+EAP)
Ah, okay.
I'm not sure how to configure a JRuby SDK in this version though; it asks me to select a Ruby interpreter, but choosing the batch file doesn't work, and I'm not sure what the other options would be. For now I can use plain old Ruby, so it isn't a huge issue.
Thanks for your quick help; it's appreciated.
Is the Ruby plugin not compatible with the Mac version? I installed the PC version on my Vista box and it was available, the Mac version doesn't show the Ruby plugin.
Hello Dave,
The plugin is marked as compatible only with build 8823, but other than that
there should be no difference between the Windows and Mac versions.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Oh, okay; I guess the Mac version I'm running is build 8858.
Plugin for 8858 is available!
Yay!
Will test as soon as I can.
Several on my team are having the same issue - is there any workaround other than going to version 8?
Brian,
Ok, we can fix this issue for Selena on this week. But we recommend to consider version for 8.0 because it contains a lot of improvements and new features(such as ruby/rhtml debugger, nice UI for Spec/Unit::Tests runner, etc)
We've updated plugin for Selena. Please try the latest version is 1.5.20660