Can't install rails can't intall nikogirl gem windows 10

25 views
Skip to first unread message

kayvan entezari

unread,
Jan 24, 2018, 10:07:18 AM1/24/18
to nokogiri-talk

HI, can anyone help me i'm noob. the nikogirl tutorial does not go in depth for window. i already installed devkit.

C:\Devkit>gem install rails --version 5.0.0
Fetching: concurrent-ruby-1.0.5.gem (100%)
Successfully installed concurrent-ruby-1.0.5
Fetching: i18n-0.9.3.gem (100%)
Successfully installed i18n-0.9.3
Fetching: thread_safe-0.3.6.gem (100%)
Successfully installed thread_safe-0.3.6
Fetching: tzinfo-1.2.4.gem (100%)
Successfully installed tzinfo-1.2.4
Fetching: activesupport-5.0.0.gem (100%)
Successfully installed activesupport-5.0.0
Fetching: rack-2.0.3.gem (100%)
Successfully installed rack-2.0.3
Fetching: rack-test-0.6.3.gem (100%)
Successfully installed rack-test-0.6.3
Fetching: mini_portile2-2.3.0.gem (100%)
Successfully installed mini_portile2-2.3.0
Fetching: nokogiri-1.8.1-x64-mingw32.gem (100%)
ERROR:  Error installing rails:
        The last version of nokogiri (>= 1.6) to support your Ruby & RubyGems was 1.8.1. Try installing it with `gem install nokogiri -v 1.8.1` and then running the current command again
        nokogiri requires Ruby version < 2.5, >= 2.2. The current ruby version is 2.5.0.

C:\Devkit>gem install nokogiri -v 1.8.1
ERROR:  Error installing nokogiri:
        The last version of nokogiri (= 1.8.1) to support your Ruby & RubyGems was 1.8.1. Try installing it with `gem install nokogiri -v 1.8.1`
        nokogiri requires Ruby version < 2.5, >= 2.2. The current ruby version is 2.5.0.

C:\Devkit>ruby -v
ruby 2.5.0p0 (2017-12-25 revision 61468) [x64-mingw32]

Mike Dalessio

unread,
Jan 24, 2018, 10:08:47 AM1/24/18
to nokogiri-talk
Hi! Thanks for asking this question.

Nokogiri does not yet support Ruby 2.5 on Windows in a full supported release. You can see some details and follow along at https://github.com/sparklemotion/nokogiri/issues/1709

Thanks for your patience.


--
You received this message because you are subscribed to the Google Groups "nokogiri-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nokogiri-talk+unsubscribe@googlegroups.com.
To post to this group, send email to nokogi...@googlegroups.com.
Visit this group at https://groups.google.com/group/nokogiri-talk.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages