I am currently saddled with a Swedish keyboard at work (TMALSS: I left my nice Japanese one at home), which has some deadkeys, one of which is backtick.
I can type a backtick just fine in any application save RubyMine (and probably any stupid JVM app) either by pressing S-Backtick S-Backtick
(i.e. pressing Backtick twice whilst holding down Shift), or by pressing S-Backtick Space
.
Any clues what could be going on here? It almost certainly has to be Java, but I don't know anything about adjusting Java input settings or whatever.