$ bundle update
Fetching gem metadata from http://rubygems.org/..Unfortunately, a fatal error has occurred. Please see the Bundler
troubleshooting documentation at http://bit.ly/bundler-issues. Thanks!
/Users/macbook/.rvm/gems/[email protected]/gems/bundler-1.2.3/lib/bundler/fetcher.rb:168:in `load': marshal data too short (ArgumentError)
from /Users/macbook/.rvm/gems/[email protected]/gems/bundler-1.2.3/lib/bundler/fetcher.rb:168:in `fetch_dependency_remote_specs'
from /Users/macbook/.rvm/gems/[email protected]/gems/bundler-1.2.3/lib/bundler/fetcher.rb:125:in `fetch_remote_specs'
from /Users/macbook/.rvm/gems/[email protected]/gems/bundler-1.2.3/lib/bundler/fetcher.rb:128:in `fetch_remote_specs'
from /Users/macbook/.rvm/gems/[email protected]/gems/bundler-1.2.3/lib/bundler/fetcher.rb:73:in `specs'
from /Users/macbook/.rvm/gems/[email protected]/gems/bundler-1.2.3/lib/bundler/source.rb:234:in `block in remote_specs'
from /Users/macbook/.rvm/gems/[email protected]/gems/bundler-1.2.3/lib/bundler/source.rb:232:in `each'
from /Users/macbook/.rvm/gems/[email protected]/gems/bundler-1.2.3/lib/bundler/source.rb:232:in `remote_specs'
from /Users/macbook/.rvm/gems/[email protected]/gems/bundler-1.2.3/lib/bundler/source.rb:165:in `fetch_specs'
from /Users/macbook/.rvm/gems/[email protected]/gems/bundler-1.2.3/lib/bundler/source.rb:70:in `specs'
from /Users/macbook/.rvm/gems/[email protected]/gems/bundler-1.2.3/lib/bundler/definition.rb:191:in `block (2 levels) in index'
from /Users/macbook/.rvm/gems/[email protected]/gems/bundler-1.2.3/lib/bundler/definition.rb:188:in `each'
from /Users/macbook/.rvm/gems/[email protected]/gems/bundler-1.2.3/lib/bundler/definition.rb:188:in `block in index'
from /Users/macbook/.rvm/gems/[email protected]/gems/bundler-1.2.3/lib/bundler/index.rb:9:in `build'
from /Users/macbook/.rvm/gems/[email protected]/gems/bundler-1.2.3/lib/bundler/definition.rb:184:in `index'
from /Users/macbook/.rvm/gems/[email protected]/gems/bundler-1.2.3/lib/bundler/definition.rb:178:in `resolve'
from /Users/macbook/.rvm/gems/[email protected]/gems/bundler-1.2.3/lib/bundler/definition.rb:113:in `specs'
from /Users/macbook/.rvm/gems/[email protected]/gems/bundler-1.2.3/lib/bundler/definition.rb:108:in `resolve_remotely!'
from /Users/macbook/.rvm/gems/[email protected]/gems/bundler-1.2.3/lib/bundler/installer.rb:81:in `run'
from /Users/macbook/.rvm/gems/[email protected]/gems/bundler-1.2.3/lib/bundler/installer.rb:14:in `install'
from /Users/macbook/.rvm/gems/[email protected]/gems/bundler-1.2.3/lib/bundler/cli.rb:291:in `update'
from /Users/macbook/.rvm/gems/[email protected]/gems/bundler-1.2.3/lib/bundler/vendor/thor/task.rb:27:in `run'
from /Users/macbook/.rvm/gems/[email protected]/gems/bundler-1.2.3/lib/bundler/vendor/thor/invocation.rb:120:in `invoke_task'
from /Users/macbook/.rvm/gems/[email protected]/gems/bundler-1.2.3/lib/bundler/vendor/thor.rb:275:in `dispatch'
from /Users/macbook/.rvm/gems/[email protected]/gems/bundler-1.2.3/lib/bundler/vendor/thor/base.rb:408:in `start'
from /Users/macbook/.rvm/gems/[email protected]/gems/bundler-1.2.3/bin/bundle:14:in `block in <top (required)>'
from /Users/macbook/.rvm/gems/[email protected]/gems/bundler-1.2.3/lib/bundler/friendly_errors.rb:4:in `with_friendly_errors'
from /Users/macbook/.rvm/gems/[email protected]/gems/bundler-1.2.3/bin/bundle:14:in `<top (required)>'
from /Users/macbook/.rvm/gems/[email protected]/bin/bundle:19:in `load'
from /Users/macbook/.rvm/gems/[email protected]/bin/bundle:19:in `<main>'
from /Users/macbook/.rvm/gems/[email protected]/bin/ruby_noexec_wrapper:14:in `eval'
from /Users/macbook/.rvm/gems/[email protected]/bin/ruby_noexec_wrapper:14:in `<main>'
9
A
risposta
8
provare a cambiare da HTTP a HTTPS in Gemfile:
Cambio:
source 'http://rubygems.org'
A:
source 'https://rubygems.org'
di tronchi con questo articolo di Hacker News, Rubygems.org was compromised. Altre informazioni: Marshal data too short error e https for rubygems.org in the Gemfile?
5
$ gem list
*** LOCAL GEMS ***
bundler (1.2.3)
....
$ sudo gem install bundler
Password:
Fetching: bundler-1.2.3.gem (100%)
Successfully installed bundler-1.2.3
1 gem installed
$ bundle update
Fetching gem metadata from http://rubygems.org/.........
Installing.....
.... .... .....
Your bundle is updated!
5
Ho avuto lo stesso errore (sotto RVM). È andato via dopo:
rvm repair all
Spero che questo aiuti.
Problemi correlati
- 1. MediaRecorder start() fallisce se chiamato troppo velocemente
- 2. Aggiornamento di un widget a intervalli brevi utilizzando l'API 19+
- 3. Aggiornamento di eclissi che impiega troppo tempo
- 4. dati di marshall troppo corti
- 5. golang - marshal PKCS8 chiave privata?
- 6. Marshal e magic_copy in js_of_ocaml
- 7. L'intersezione del poligono fallisce, la collisione "taglia" è troppo grande
- 8. dichiarazione di aggiornamento in esecuzione per troppo tempo o no
- 9. Google Analytics per URL brevi
- 10. @ Scripts.Render non funziona fascio
- 11. fascio sfguard per Symfony2
- 12. Aggiornamento dati stripe-importo
- 13. Elasticsearch/Kibana dati di campo troppo grandi
- 14. Fette Perl inaspettatamente brevi
- 15. Misurare distanze brevi
- 16. Aggiornamento a Rails 3.1.0 da RC6, patrimoniale precompilare fallisce
- 17. Marshal :: GetFunctionPointerForDelegate: dovrei rilasciare il suo risultato?
- 18. JAXB Fragment Marshal senza spazio dei nomi
- 19. query di aggiornamento semplice sta impiegando troppo tempo
- 20. "Uffa" quando uri dati è troppo grande
- 21. Android riceve troppo dati di debug Bluetooth
- 22. rotaie s o rotaie exec fascio s
- 23. Ottenere ambiente Symfony2 in estensione fascio
- 24. MySQL tipo di dati: Testo ,,, erroring: dati troppo lungo
- 25. Funzioni di regolazione del fascio
- 26. aggiornamento grafico dai dati JSON
- 27. Aggiornamento dei dati in Clickhouse
- 28. OpenGL VBO dati di aggiornamento
- 29. Aggiornamento dell'origine dati Kendo ui?
- 30. Aggiornamento dati in Slick Grid
Ehi, dove posso trovare il file gemma? Non sono un esperto di Linux e ho cercato ovunque. Grazie. –
@Paul Fournel, guarda la cartella principale dell'app. È lo stesso posto in cui si esegue il comando "rails s". Nel mio caso, è/home/kosh/projects/rails_app1/Gemfile. –