Search code examples
webstormrubymineosx-yosemite

RubyMine fails to start on Yosemite


RubyMine won't start under Yosemite, no loading screen, no error message.

This seems to be caused by the default JVM that comes with Yosemite

EDIT This also seems to affect WebStorm


Solution

  • This solution is controversial - please read all of it before applying changes!

    Open this file

    Check the version of Java, most likely 1.8, by using java -version, you should see something like:

    java version "1.8.0_20"
    Java(TM) SE Runtime Environment (build 1.8.0_20-b26)
    Java HotSpot(TM) 64-Bit Server VM (build 25.20-b23, mixed mode)
    

    Open and edit

    /Applications/RubyMine.app/Contents/Info.plist
    

    Or for WebStorm

    /Applications/WebStorm.app/Contents/Info.plist
    

    Update the following key

    <key>JVMVersion</key>
    <string>1.7*</string>
    

    to

    <key>JVMVersion</key>
    <string>1.8*</string>
    

    RubyMine should now be good to go


    Feedback on this solution

    JetBrains do not recommend this solution as it will break autoupdating with patches. That tradeoff was acceptable for me as I just wanted to get going quickly and avoid installing Java 1.6.

    The full discussion is here https://intellij-support.jetbrains.com/entries/27854363-IDE-doesn-t-start-after-updating-to-Mac-OS-Yosemite-or-Mavericks