I have a number of gems in my external libraries on Rubymine, but not all of the gems that I have installed through my gemfile and gem install have showed up. How can I add all my app's gems to the file so I can edit their libs?
我在Rubymine的外部库中有很多宝石,但是我通过gemfile和gem install安装的所有宝石都没有显示出来。如何将我的所有应用程序的宝石添加到文件中,以便我可以编辑它们的库?
3
Rubymine shows only the gems from your Gemfile
. You can attach the installed gems to the project manually, using Settings (CTRL+ALT+F5), and search for Ruby SDK and Gems
.
Rubymine只显示Gemfile中的宝石。您可以使用设置(CTRL + ALT + F5)手动将已安装的gem附加到项目,并搜索Ruby SDK和Gems。
If you are using rvm, sometimes you have to select the correct ruby+gemset as well.
如果您使用的是rvm,有时您还必须选择正确的ruby + gemset。
Hope this helps.
希望这可以帮助。
0
Normally RubyMine should show all the gems that you have installed in your system and that you have specified in the Gemfile
. Otherwise it could be a bug which should be reported with more details.
通常,RubyMine应该显示您在系统中安装的所有gem以及您在Gemfile中指定的所有gem。否则它可能是一个应该报告更多细节的错误。
本站翻译的文章,版权归属于本站,未经许可禁止转摘,转摘请注明本文地址:http://www.silva-art.net/blog/2011/11/03/d345eb6005ebc463776174eec5268f1d.html。