Can’t open file in Rubymine?

Just wasted an hour fighting a bug in Rubymine 1.1.1 that wouldn’t let me open files. Every once in awhile, it just decides that it doesn’t want to open files of a certain type (in my case, all .html.erb and .rhtml files), regardless of how you try to open them (click in file browser, choose File -> Open, etc).

And now, ladies and gentlemen, without further ado, the fix:

File -> Invalidate caches
Close and re-open Rubymine

Sigh.

8 thoughts on “Can’t open file in Rubymine?

  1. I only wasted 15 minutes instead of several hours thanks to your post. cheers

    This happens on Rubymine 3.0 usually after unexpected system reboots.

  2. Hey guys. I am having the same problem here with version 3.1.1. But the hints doesn’t help me at all. Tried many times. I will submit the bug and this link to JetBrains.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">