nokogiri requires Ruby version < 3.1.dev, >= 2.5
See original GitHub issueContext
OS: Ubuntu 16.04 x64
Unable to run $ RAILS_ENV=development bundle exec rake db:create
from official docs here
Steps to Reproduce
- Follow steps from official docs from official docs here until
Initialize the metadata database
step - Attempt to run
$ RAILS_ENV=development bundle exec rake db:create
- You should now get
Could not find nokogiri-1.11.3 in any of the sources
- Attempt to install nokogiri
$ sudo gem install nokogiri -v '1.11.3'
- You should get
Gem::InstallError: nokogiri requires Ruby version < 3.1.dev, >= 2.5.
- Run
$ sudo gem install nokogiri -v '1.10.9'
, this should now work - However rerunning
$ RAILS_ENV=development bundle exec rake db:create
will yieldCould not find nokogiri-1.11.3 in any of the sources
Current Result
Could not find nokogiri-1.11.3 in any of the sources
when running $ RAILS_ENV=development bundle exec rake db:create
Issue Analytics
- State:
- Created 2 years ago
- Comments:5
Top Results From Across the Web
nokogiri requires Ruby version < 3.1.dev, >= 2.5 #1214 - GitHub
When i am executing vagrant plugin install vagrant-libvirt The error output is as follows Installing the 'vagrant-libvirt' plugin.
Read more >Ruby: nokogiri requires Ruby version < 3.1.dev, >= 2.5
First of all, please upgrade vagrant, because it ships with its own ruby verison.
Read more >Installing Nokogiri
Anybody on a linux system with an unsupported version of glibc (see Supported Platforms) will need to install from the ruby platform gem....
Read more >Error installing rails: nokogiri requires Ruby version < 2.7.dev ...
Hey, I've followed all the steps in the video but when trying to install rails I get this error: Fetching: nokogiri-1.10.4-x86-mingw32.g...
Read more >nokogiri requires Ruby version < 3.1.dev, >= 2.5 - Bountysource
nokogiri requires Ruby version < 3.1.dev, >= 2.5. vagrant-libvirt. 07 March 2021 Posted by mupeifeiyi. When i am executing vagrant plugin install vagrant- ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Facing the same problem, made sure to
git checkout tags/v4.45.0
not in master.Have you tried to make sure you are using a release tag or are you on master?