Rubymine can't find SDK. Where is it?

后端 未结 4 1841
遇见更好的自我
遇见更好的自我 2020-12-31 17:00

I have just installed rubymine 5.4.3.2.1 and am trying to start an example project. The problem i am having is that rubymine is asking for a SDK. So where do i point it to?<

4条回答
  •  臣服心动
    2020-12-31 17:29

    You should point it to the where you keep your Ruby Binary File, for example:

    • Windows - d:\dev\Ruby19\bin\ruby.exe
    • Mac Brew - /usr/local/Cellar/ruby/2.0.0-p247/bin/ruby
    • Ruby Version Manager - /Users//.rvm/rubies/ruby-1.9.3-p327/bin/ruby
    • Linux/Mac Default - /usr/bin/ruby

    If you are on Windows and don't have Ruby installed yet, download it from http://rubyinstaller.org/ .

    After installing point RubyMine to the ruby.exe file location.


    For example, if you install using rubyinstaller-2.0.0-p247.exe into c:\Ruby200 (the default path suggested by the installer), RubyMine would accept c:\Ruby200\bin\ruby.exe path for the SDK (it will even detect it automatically):

    Ruby SDK

    Note that it's also recommended to install and configure the DevKit from the same site as it's required for many gems that have native code.

    When everything is installed you can follow the Quick Start Guide for RubyMine.

提交回复
热议问题