如何在RubyMine中运行“ gem install bundler”? [英] How do I run 'gem install bundler' in RubyMine?

查看:281
本文介绍了如何在RubyMine中运行“ gem install bundler”?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在RubyMine IDE中更新Ruby时遇到问题。

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

我收到一个错误报告,我需要运行 gem bundle install ,但是我没有在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.

我已经在Ubuntu控制台中运行了它,一切正常,但是在IDE中找不到可用于运行命令和更新该环境的控制台。我认为有一个简单的解决方案,但是Google在寻找它方面并没有提供太多帮助。

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.

任何帮助将不胜感激。

推荐答案

对于Rubymine 18.1 及更高版本, 双击ctrl 将打开运行任何内容对话框。在其中输入您要运行的命令(在本例中为 gem install bundler),然后按Enter键。接下来,它将要求传递任何额外的参数,然后在Rubymine中执行命令。

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.

这篇关于如何在RubyMine中运行“ gem install bundler”?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆