Could not find public_suffix-3.0.1 in any of the sources (Bundler::GemNotFound)

Hello,

Pardon if this is a super simple issue and I should know how to fix it…

After installing Jekyll on my laptop, am running into an issue when running Jekyll:

“/Users/roryreiff/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/spec_set.rb:88:in `block in materialize’: Could not find public_suffix-3.0.1 in any of the sources (Bundler::GemNotFound)”

Any idea how to fix this? I researched a bit on google, only found a recommendation to uninstall all gems and reinstall Jekyll. I did that and it didn’t make a difference.

Thanks, much appreciated.

Ideally, public-suffix would be automatically installed when you’re installing jekyll for the first time because public-suffix is a dependency of addressable which is in turn a dependency of jekyll

The sane way out here is to manually install public_suffix:

gem install public_suffix --version 3.0.1

Alternatively, if you’re working on a fork of a Jekyll site / theme repo that already has a Gemfile, you can simply run:

bundle update

Thank you! bundle update did the trick!

+1 for bundle update