BryanSchuetz / jekyll-deploy-gh-pages

A GitHub Action for building a Jekyll site (with custom plugins) and deploying it back to your gh-pages branch.
118 stars 60 forks source link

Bundler could not find compatible versions for gem "rubygems" #27

Open arkag opened 4 years ago

arkag commented 4 years ago

I'm sure this is stupid, but I can't find any information when searching for this specific error, and I'm green when it comes to Ruby.

Build error:

👍 ENTRYPOINT HAS STARTED—INSTALLING THE GEM BUNDLE
Fetching gem metadata from https://rubygems.org/..........
Fetching version metadata from https://rubygems.org/..
Fetching dependency metadata from https://rubygems.org/.
Resolving dependencies...
Bundler could not find compatible versions for gem "rubygems�":
  In Gemfile:
    rubygems� (= 2.6.11)

    jekyll (>= 4.1.1, ~> 4.1) was resolved to 4.1.1, which depends on
      rubygems� (>= 2.7.0)

My Gemfile:

source 'https://rubygems.org'
gem 'jekyll', '~> 4.1', '>= 4.1.1'
gem 'jekyll-analytics'
gem 'noir-for-jekyll'
BryanSchuetz commented 4 years ago

Looks like maybe you need to update your version of rubygems. What does gem -v say? Can get the latest version with gem update --system

polyrain commented 3 years ago

Following up on this, have same issue and have updated ruby gems