How do I run 'gem install bundler' in RubyMine?

自闭症网瘾萝莉.ら 提交于 2019-12-11 07:32:33

问题


I'm having trouble with updating Ruby in my RubyMine IDE.

I get an error reporting that I need to run gem bundle install but I haven't found a place in my IDE to run that command.

I have run it in my Ubuntu console and everything works fine, but I can't find a console in the IDE that I can use to run the command and update that environment. I assume there's an easy solution, but google has not helped much in finding it.

Any help would be much appreciated.


回答1:


For Rubymine 18.1 and above, double-press ctrl will open Run Anything dialog box. In it, type command you want to run (In your case 'gem install bundler') and press enter. Next it will ask for any extra arguments to be passed, and after it will execute the command in Rubymine.



来源:https://stackoverflow.com/questions/50453678/how-do-i-run-gem-install-bundler-in-rubymine

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