Home > Uncategorized > Can’t open file in Rubymine?

Can’t open file in Rubymine?

September 24th, 2009

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.

Bill Uncategorized

  1. September 24th, 2009 at 14:35 | #1

    Thanks for publishing the tip!

    I also recommend you to try the latest RubyMine EAP:http://www.jetbrains.net/confluence/display/RUBYDEV/RubyMine+EAP
    It has many issues fixed and lots of new features.

    -ET

  2. November 4th, 2010 at 20:13 | #2

    Wonderful!, It saved my time. Thanks for sharing :)

  3. January 17th, 2011 at 01:46 | #3

    The problem still exists under RubyMine 3.0 and the above mentioned is still valid.

    Thanks a lot,

    Christian

  4. TerryS
    February 6th, 2011 at 14:30 | #4

    Thank you! I also wasted a bunch of time on this before I found your post

  5. Heather
    April 29th, 2011 at 12:05 | #5

    Thanks indeed. After 3rd restart I found your post. Super helpful.

  6. Gabe
    May 30th, 2011 at 20:45 | #6

    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.

  7. Marcelo Alcantara
    June 5th, 2011 at 00:05 | #7

    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.

  8. Dmide
    June 16th, 2011 at 07:53 | #8

    Thanks! saved much time

  1. No trackbacks yet.