If you're going to move to a static language, I'd recommend Go over Java or Scala. Especially if you like duck typing (it has a static flavor of duck typing). I haven't used it for anything nontrivial (you can pry C from my cold, dead hands), but it looks like it solves the problems in its domain exceedingly well.
Regarding Dart: It looks nice. At work I'm forced to work in JS sometimes (I work at a game company that does contracting, and lately clients have started needing/wanting HTML5), and my opinion is that Dart looks better than it in every meaningful way. I've also begun to get the impression that Google has moved most of the V8 engineers over to Dart, but I don't have any hard evidence for this.
Honestly without knowing your problem, it's impossible to say whether or not either of these would solve it. My guess is that either of them could, as they're both languages that are orders of magnitude faster than Ruby and both seem to have large, fully featured standard libraries.