"corrupted stubs in your RubyMine or Ruby plugin installation" problem?

TWIMC:

I opened the latest RubyMine build and got the following error dialog as it was parsing a Rails project directory of mine:

"It seems that you have corrupted stubs in your RubyMine or Ruby plugin installation. Please reinstall!"

I am not aware of any problems with the Ruby or Ruby plugins in the project, though I do have a symlink for the vendor directory rather than a real directory.

This is a pretty fresh install--though I had a previous RubyMine installation, I removed the RubyMine-related files and folders in my Application Support directory. What else do I have to do to clean things up?

Thanks.

Ed

9 comments
Comment actions Permalink

Hello Ed,

I opened the latest RubyMine build and got the following error dialog as it was parsing a Rails project directory of mine:


"It seems that you have corrupted stubs in your RubyMine or Ruby plugin installation. Please reinstall!"


I am not aware of any problems with the Ruby or Ruby plugins in the project, though I do have a symlink for the vendor directory rather than a real directory.


This is a pretty fresh install--though I had a previous RubyMine installation, I removed the RubyMine-related files and folders in my Application Support directory. What else do I have to do to clean things up?

Please ensure folder rubystubs exists in your new RubyMine installation folder.
Without this folder or if it's content is corrupted you won't be able to use resolve/autocompletion and other features correctly.

Regards,
Oleg

0
Comment actions Permalink

This problem happened a couple of times, but now RubyMine is loading this project quietly. My RubyMine "installation directory" (on OS X, it's the RubyMine package itself) does now contain a rubystubs directory.

Thanks for your help!

Ed

0
Comment actions Permalink

RubyMine package should contain rubystabs see folder /Applications/RubyMine-802.app/rubystubs

0
Comment actions Permalink

I have the same error (been having it for the last 3 releases and still getting it in build820.  I do have the stubs directory which contains a bunch of .rb files.  I'm on os x.  What am I supposed to do to get rid of the error message?  I don't see how reinstall can help as all i do is download the file and drop it in the applications directory.

0
Comment actions Permalink

I'm still getting the error in Rubymine build 856.

It just started happening to me yesterday with the previous build.

I have deleted my .idea folder and the RubyMine cache folder in application support, ensured the rubystubs directory exists. I also moved the existing rubystubs folder out and created a new one with no change in behavior.

This errors seems to be project dependent as I created a brand new project, shut down Rubymine, and restarted it, and could work on this new project just fine.

I then loaded the origianl project and the error recurred.

This is a huge issue for me as RubyMine just became unusable. One other symptoms, the auto generated favorites view is now blank.

Rubymine 856, OS X 10.5.6, Vendored rails 2.2.2, Ruby 1.8.7-p72

0
Comment actions Permalink

Hello Andrew,

I'm still getting the error in Rubymine build 856.


It just started happening to me yesterday with the previous build.


I have deleted my .idea folder and the RubyMine cache folder in application support, ensured the rubystubs directory exists. I also moved the existing rubystubs folder out and created a new one with no change in behavior.


This errors seems to be project dependent as I created a brand new project, shut down Rubymine, and restarted it, and could work on this new project just fine.


I then loaded the origianl project and the error recurred.


This is a huge issue for me as RubyMine just became unusable. One other symptoms, the auto generated favorites view is now blank.


Rubymine 856, OS X 10.5.6, Vendored rails 2.2.2, Ruby 1.8.7-p72

Could you please list all the files in your rubystubs folder? Please ensure you have correct permissions to read folder and it's content.

Wbr,
Oleg

0
Comment actions Permalink

Hello,

Same problem under windows XP. Rubystubs folder exists (108 rb files in it). Will the content regenerated automatically at startup? Should I do a complete reinstall?


PS: I also have EAP 1.5 installed

0
Comment actions Permalink

Hello erwann,

Same problem under windows XP. Rubystubs folder exists (108 rb files
in it). Will the content regenerated automatically at startup? Should
I do a complete reinstall?


The problem should go away if you delete and recreate the Ruby interpreter
in the IDE settings.

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Thanks Dmitry, problem solved!

0

Please sign in to leave a comment.