CartoDB / cartodb

Location Intelligence & Data Visualization tool
http://carto.com
BSD 3-Clause "New" or "Revised" License
2.75k stars 651 forks source link

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

Open gabegm opened 3 years ago

gabegm commented 3 years ago

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 commented 3 years ago

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

sabman commented 3 years ago

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

panchicore commented 3 years ago

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

pizzacarre commented 3 years ago

this solved the issue thanks a lot

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

ocugutiylla commented 2 years ago

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?