0

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?

Fishcake
  • 10,496
  • 7
  • 44
  • 72
John
  • 17
  • 1

1 Answers1

1

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.

Simone Carletti
  • 173,507
  • 49
  • 363
  • 364