Answer the question
In order to leave comments, you need to log in
Installing Rails 5.1 on Ruby 2.4.1 on Windows 10?
Hello! Downloaded and installed ruby 2.4.1p111 (2017-03-22 revision 58053) [x64-mi... , while installing Rails gem install rails --version=5.1.0
Gives an error
ERROR: Error installing rails:
nokogiri requires Ruby version < 2.4, >= 2.1.0.
Answer the question
In order to leave comments, you need to log in
Spit and put Linux. Even if you run then you will get constant errors.
Have you tried reading the bundler error? nokogiri requires Ruby version < 2.4, >= 2.1.0. - nokogiri works with ruby versions less than 2.4 but greater than 2.1 including 2.1.
Version 2.4 is not yet supported.
Install Ruby version 2.3.3 and DevKit. The latter is needed to avoid conflicts when installing gems and using them.
Rails 5 requires Ruby 2.2.2 or newer. - 5 rail works with version 2.2
Tested on version 2.3.0 OSX and on Windows 10
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question