Skip to content

Instantly share code, notes, and snippets.

@krisdigital
Created January 1, 2019 21:11
Show Gist options
  • Save krisdigital/c4df0e77c9a1d52856c43486a157265f to your computer and use it in GitHub Desktop.
Save krisdigital/c4df0e77c9a1d52856c43486a157265f to your computer and use it in GitHub Desktop.
Bundler Gem not Found Error
If you get this strange error:
Your bundle is locked to some_gem (0.10.1), but that version could not be found in any of the sources listed in your Gemfile. If you haven't changed sources, that means the author of some_gem
(0.10.1) has removed it. You'll need to update your bundle to a version other than some_gem (0.10.1) that hasn't been removed in order to install.
and running `ruby -ropen-uri -e 'eval open("https://git.io/vQhWq").read'` ends with no errors:
Check your time settings on your server/machine!
https://bundler.io/v1.17/guides/rubygems_tls_ssl_troubleshooting_guide.html
If your time is in the past, you cannot connect to rubygems.org.
For Ubuntu 18.04 (Server):
sudo apt install ntpdate
sudo ntpdate ntp.ubuntu.com
😓
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment