Error installing rubyMine, no SDK specified, but it is listed

China☆狼群 提交于 2019-11-30 01:07:26

问题


Getting "Could not install gems:no SDK specified" when trying to run any command such as starting the rails server. Why am I getting this and how can I get around it?
I've had issues before with the JDK but not seen this SDK error.


回答1:


I went into settings and an SDK was already listed, but it wasn't until I clicked 'update gems' that everything got installed ok. Then I was able to start and use the application fine.




回答2:


I tried following the advice in the above two answers and it still did not work for me. After making sure my project passed all rSpec I gave up on RubyMine and simply zapped the .idea sub-directory and got it to work after I recreated the RubyMine project from scratch.

Hope this helps.

p.s. my env is Mac Os X with RVM installed. Maybe something confused RubyMine with all that.




回答3:


I succeeded after I restarted Rubymine.



来源:https://stackoverflow.com/questions/10942348/error-installing-rubymine-no-sdk-specified-but-it-is-listed

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!