Marcus Ruddick
Marcus Ruddick

Reputation: 10375

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

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.

Upvotes: 1

Views: 1262

Answers (1)

Swapnil
Swapnil

Reputation: 127

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.

Upvotes: 2

Related Questions