Discussion:
[wtr-general] i can't install watir
Henrique Lopes
2018-01-10 14:05:36 UTC
Permalink
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.

watir-***@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+***@googlegroups.com
---
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 watir-general+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Titus Fortner
2018-01-11 02:17:27 UTC
Permalink
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
Post by Henrique Lopes
C:\Users\henri>gem install 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
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.

watir-***@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+***@googlegroups.com
---
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 watir-general+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...