Gemfile in watir-7.1.0 vs Gemfile in watir-7.2.0
- old
+ new
@@ -1,9 +1,14 @@
+# frozen_string_literal: true
+
source 'https://rubygems.org'
gem 'webidl', path: File.expand_path('../webidl') if ENV['LOCAL_WEBIDL']
-gem 'selenium-webdriver', path: File.expand_path('../selenium/build/rb') if ENV['LOCAL_SELENIUM']
+if ENV['LOCAL_SELENIUM']
+ ENV['RUBYOPT'] = '-I../selenium/bazel-bin/rb'
+ gem 'selenium-webdriver', path: File.expand_path('../selenium/rb')
+end
gem 'ffi' if Gem.win_platform? # For selenium-webdriver on Windows
# Specify your gem's dependencies in watir.gemspec
gemspec