Are you trying to run this with Ruby 1.9? Update your version of Ruby. Currently supported versions of Ruby are 2.3.x, 2.4.x and 2.5.0
On Wednesday, January 10, 2018 at 8:00:57 PM UTC-6, Henrique Lopes wrote: > > i try install watir but have a error: > > C:\Users\henri>gem install watir > ERROR: Error installing watir: > The last version of ffi (>= 1.0.11, ~> 1.0) to support your Ruby & > RubyGems was 1.9.18. Try installing it with `gem install ffi -v 1.9.18` and > then running the current command again > ffi requires Ruby version < 2.5, >= 2.0. The current ruby version > is 2.5.0. > > i use "gem install ffi -v 1.9.18", do the same error. > > > C:\Users\henri>gem install ffi -v 1.9.18 > ERROR: Error installing ffi: > The last version of ffi (= 1.9.18) to support your Ruby & RubyGems > was 1.9.18. Try installing it with `gem install ffi -v 1.9.18` > ffi requires Ruby version < 2.5, >= 2.0. The current ruby version > is 2.5.0. > > i need help plz > > -- -- Before posting, please read https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected] --- You received this message because you are subscribed to the Google Groups "Watir General" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
