Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

NoMethodError: undefined method `inflate' for Gem:Module

Aperta
#883 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
jekyll, ruby
Ambito
tooling

Direzione di ricerca

Inizia dallo stack trace in bundler-1.10.6/lib/bundler/fetcher.rb:87 e confronta le versioni riportate di Bundler, RubyGems e Ruby. Riproduci il comando bundle sul template Jekyll clonato; è completato quando l’installazione delle dipendenze termina senza il NoMethodError Gem.inflate.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

After cloning a jekyll template. I run bundle command.

I get the following error.

Error details

    NoMethodError: undefined method `inflate' for Gem:Module
      /home/x/gems/gems/bundler-1.10.6/lib/bundler/fetcher.rb:87:in `fetch_spec'
      /home/x/gems/gems/bundler-1.10.6/lib/bundler/remote_specification.rb:71:in `_remote_specification'
      /home/x/gems/gems/bundler-1.10.6/lib/bundler/remote_specification.rb:76:in `method_missing'
      /home/x/gems/gems/bundler-1.10.6/lib/bundler/resolver.rb:158:in `block in __dependencies'
      /home/x/gems/gems/bundler-1.10.6/lib/bundler/resolver.rb:155:in `each'
      /home/x/gems/gems/bundler-1.10.6/lib/bundler/resolver.rb:155:in `__dependencies'
      /home/x/gems/gems/bundler-1.10.6/lib/bundler/resolver.rb:116:in `activate_platform'
      /home/x/gems/gems/bundler-1.10.6/lib/bundler/resolver.rb:274:in `block in search_for'
      /home/x/gems/gems/bundler-1.10.6/lib/bundler/resolver.rb:274:in `each'
      /home/x/gems/gems/bundler-1.10.6/lib/bundler/resolver.rb:274:in `search_for'
      /home/x/gems/gems/bundler-1.10.6/lib/bundler/resolver.rb:327:in `block in verify_gemfile_dependencies_are_found!'
      /home/x/gems/gems/bundler-1.10.6/lib/bundler/resolver.rb:325:in `each'
      /home/x/gems/gems/bundler-1.10.6/lib/bundler/resolver.rb:325:in `verify_gemfile_dependencies_are_found!'
      /home/x/gems/gems/bundler-1.10.6/lib/bundler/resolver.rb:198:in `start'
      /home/x/gems/gems/bundler-1.10.6/lib/bundler/resolver.rb:182:in `resolve'
      /home/x/gems/gems/bundler-1.10.6/lib/bundler/definition.rb:200:in `resolve'
      /home/x/gems/gems/bundler-1.10.6/lib/bundler/definition.rb:140:in `specs'
      /home/x/gems/gems/bundler-1.10.6/lib/bundler/definition.rb:129:in `resolve_remotely!'
      /home/x/gems/gems/bundler-1.10.6/lib/bundler/installer.rb:79:in `run'
      /home/x/gems/gems/bundler-1.10.6/lib/bundler/installer.rb:18:in `install'
      /home/x/gems/gems/bundler-1.10.6/lib/bundler/cli/install.rb:107:in `run'
      /home/x/gems/gems/bundler-1.10.6/lib/bundler/cli.rb:162:in `install'
      /home/x/gems/gems/bundler-1.10.6/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
      /home/x/gems/gems/bundler-1.10.6/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
      /home/x/gems/gems/bundler-1.10.6/lib/bundler/vendor/thor/lib/thor.rb:359:in `dispatch'
      /home/x/gems/gems/bundler-1.10.6/lib/bundler/vendor/thor/lib/thor/base.rb:440:in `start'
      /home/x/gems/gems/bundler-1.10.6/lib/bundler/cli.rb:10:in `start'
      /home/x/gems/gems/bundler-1.10.6/bin/bundle:20:in `block in <top (required)>'
      /home/x/gems/gems/bundler-1.10.6/lib/bundler/friendly_errors.rb:7:in `with_friendly_errors'
      /home/x/gems/gems/bundler-1.10.6/bin/bundle:18:in `<top (required)>'
      /home/x/gems/bin/bundle:25:in `load'
      /home/x/gems/bin/bundle:25:in `<main>'

Environment

    Bundler   1.10.6
    Rubygems  3.3.5
    Ruby      3.0.2p107 (2021-07-07 revision 0db68f023372b634603c74fca94588b457be084c) [x86_64-linux-gnu]
    GEM_HOME  /home/x/gems
    GEM_PATH  
    Git       2.34.1
--- TEMPLATE END ----------------------------------------------------------------

Lingua principale
Ruby
Stelle
1.9k
Fork
361
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di github/pages-gem

Tutte le issue di github/pages-gem

Issue simili

Altre issue su Ruby

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.