John
John

Reputation: 17

RubyMine 5.0 requires a new library

I want to use Watir in my Ruby program, like this

require 'watir'
ie = Watir::IE.new
ie.goto 'www.google.com'

It works well but there was no autocompletion when I input ' ie.' . What should I do to solve this?

Upvotes: 0

Views: 150

Answers (1)

Simone Carletti
Simone Carletti

Reputation: 176472

Make sure RubyMine recognizes the external library. If you are using a Bundler-powered project (such as a Rails app), go to Tools > Bundler > Install.

Otherwise, add the gem to the project from the project settings.

Upvotes: 1

Related Questions