Answer the question
In order to leave comments, you need to log in
What is the Gem::InstallError?
I started to study a new project, there is a gemset. The version of ruby ruby-2.0.0 is used.
When I do the bundle, it gives the following error -
Gem::InstallError: nokogiri requires Ruby version >= 2.1.0.
An error occurred while installing nokogiri (1.7.0.1), and Bundler cannot
continue.
Make sure that `gem install nokogiri -v '1.7.0.1'` succeeds before bundling.
Answer the question
In order to leave comments, you need to log in
The option is to look for whose dependency it is and install an older version, which in turn will require an older version of nokogiri. But it's all so bad that it's disgusting to even write about it.
So put yourself rvm and update ruby through it. Here is a list of the basic rvm commands you will need:
rvm list
rvm install 2.3.3
rvm use 2.3.3
rvm --default use 2.3.3
.rubyversion
it .rubygemset
in your projects as well.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question