How do I setup the ruby SDK in IntelliJ IDEA?
<p>I've been using <a href="https://confluence.jetbrains.com/display/RUBYDEV/Opening+Rails+projects+in+IntelliJ+IDEA#OpeningRailsprojectsinIntelliJIDEA-3.ConfigureRubySDK" rel="noreferrer">this</a> guide</p>

<p>Whenever I go to import the module I get this screen:</p>

<p><a href="https://i.stack.imgur.com/fbMFL.png" rel="noreferrer"><img src="https://i.stack.imgur.com/fbMFL.png" alt="enter image description here"></a></p>

<p>I used the following file path, maybe this is whats wrong?
<code>/usr/local/Cellar/ruby-build/20160130/share/ruby-build/2.3.0</code></p>

<p>And got this error:</p>

<p><a href="https://i.stack.imgur.com/fChfD.png" rel="noreferrer"><img src="https://i.stack.imgur.com/fChfD.png" alt="enter image description here"></a> </p>

<p>I'd appreciate any ideas anyone might have, i've been trying get this working all night!</p>