Skip to content

Commit

Permalink
Use older reline version to avoid using C extensions on JRuby.
Browse files Browse the repository at this point in the history
IRB gem uses reline which now uses io-console gem since v0.1.0. io-console uses C extensions which do not work on JRuby. See ruby/reline#95. We're restricting reline to v0.7.0 (without io-console) so we can continue to run our specs on JRuby.
  • Loading branch information
kapoorlakshya committed Dec 27, 2019
1 parent dc74fc5 commit d03b68f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions webdrivers.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Gem::Specification.new do |s|
s.add_development_dependency 'ffi', '~> 1.0' # For selenium-webdriver on Windows
s.add_development_dependency 'irb'
s.add_development_dependency 'rake', '~> 12.0'
s.add_development_dependency 'reline', '0.0.7' # Required by irb, and newer versions don't work on JRuby
s.add_development_dependency 'rspec', '~> 3.0'
s.add_development_dependency 'rubocop', '~>0.66'
s.add_development_dependency 'rubocop-performance'
Expand Down

0 comments on commit d03b68f

Please sign in to comment.