2016-11-15 78 views
0

沒有Rails的我所看到的:在SDK中發現了塞拉利昂

How to fix "Run Configuration Error: [No Rails found in SDK]"?

https://stackoverflow.com/questions/35658326/rubymine-kept-telling-me-no-rails-found-in-sdk

No rails found in sdk intellij https://intellij-support.jetbrains.com/hc/en-us/community/posts/206714535-No-Rails-found-in-SDK

我:

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) 

我TR滅蠅燈用綠色的勾選擇紅寶石版本,擊中申請將其設置爲正常: enter image description here

此外,我試圖運行:

gem update --system 
gem install rails 

這是行不通的。我究竟做錯了什麼?

回答

1

如果你還沒有,通過運行更新X-代碼安裝:

xcode-select --install 

然後通過運行重建所有的寶石:

gem pristine --all 

更新到塞拉利昂與您的開發環境弄亂。上面的工作對我來說。

+0

感謝的人!你是救生員。 – user3081519