Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nokogiri requires Ruby version < 3.1.dev, >= 2.5 #16269

Open
gabegm opened this issue Apr 21, 2021 · 5 comments
Open

nokogiri requires Ruby version < 3.1.dev, >= 2.5 #16269

gabegm opened this issue Apr 21, 2021 · 5 comments

Comments

@gabegm
Copy link

gabegm commented Apr 21, 2021

Context

OS: Ubuntu 16.04 x64

Unable to run $ RAILS_ENV=development bundle exec rake db:create from official docs here

Steps to Reproduce

  1. Follow steps from official docs from official docs here until Initialize the metadata database step
  2. Attempt to run $ RAILS_ENV=development bundle exec rake db:create
  3. You should now get Could not find nokogiri-1.11.3 in any of the sources
  4. Attempt to install nokogiri $ sudo gem install nokogiri -v '1.11.3'
  5. You should get Gem::InstallError: nokogiri requires Ruby version < 3.1.dev, >= 2.5.
  6. Run $ sudo gem install nokogiri -v '1.10.9', this should now work
  7. However rerunning $ RAILS_ENV=development bundle exec rake db:create will yield Could 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

@pizzacarre
Copy link

Hello any hot fix for this ? I am trying to install it but no success so far

@sabman
Copy link

sabman commented May 28, 2021

Have you tried to make sure you are using a release tag or are you on master?

@panchicore
Copy link

panchicore commented Jun 4, 2021

Facing the same problem, made sure to git checkout tags/v4.45.0 not in master.

@pizzacarre
Copy link

this solved the issue thanks a lot

Facing the same problem, made sure to git checkout tags/v4.45.0 not in master.

@ocugutiylla
Copy link

I have the same problem, and download cartodb-4.45.0.tar.gz.
Either try the command:
git clone --recursive https://github.com/CartoDB/cartodb/releases/tag/v4.45.0
But not working...
Can you help please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants