title: No Rails found in SDK on Sierra
body: <p>I have seen:</p>
  
  <p><a href="https://stackoverflow.com/questions/35583060/how-to-fix-run-configuration-error-no-rails-found-in-sdk">How to fix &quot;Run Configuration Error: [No Rails found in SDK]&quot;?</a></p>
  
  <p><a href="https://stackoverflow.com/questions/35658326/rubymine-kept-telling-me-no-rails-found-in-sdk">https://stackoverflow.com/questions/35658326/rubymine-kept-telling-me-no-rails-found-in-sdk</a></p>
  
  <p><a href="https://stackoverflow.com/questions/37013352/no-rails-found-in-sdk-intellij">No rails found in sdk intellij</a>
  <a href="https://intellij-support.jetbrains.com/hc/en-us/community/posts/206714535-No-Rails-found-in-SDK" rel="nofollow noreferrer">https://intellij-support.jetbrains.com/hc/en-us/community/posts/206714535-No-Rails-found-in-SDK</a></p>
  
  <p>I have: </p>
  
  <pre><code>RubyMine 2016.2.3
  Build #RM-162.1812.23, built on September 5, 2016
  JRE: 1.8.0_112-release-b343 x86_64
  JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
  MacOs 10.12.1 (16B2555)
  </code></pre>
  
  <p>I tried setting it up as normal by choosing the ruby version with a green check, hitting apply: 
  <a href="https://i.stack.imgur.com/C4ggs.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/C4ggs.png" alt="enter image description here"></a></p>
  
  <p>Also I tried running: </p>
  
  <pre><code>gem update --system
  gem install rails
  </code></pre>
  
  <p>This doesn't work. What am I doing wrong? </p>