$ 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
cevap
8
deneyin sizin Gemfile HTTPS HTTP'den değiştirmek için:
Değişimi:
source 'http://rubygems.org'
için:
source 'https://rubygems.org'
Hacker News, Rubygems.org was compromised bu makaleyi acording. Daha fazla bilgi: Marshal data too short error ve 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
çok kısa mareşal verileri. Bundan sonra gittim:
rvm repair all
Bu yardımcı olur umarım.
İlgili konular
- 1. Paket güncelleme ve yükleme işlemi OS X aslan yükseltmesinden sonra başarısız - Raylar 3
- 2. Libv8'i yüklerken hata 3.11.8.3
- 3. @global gem ile Ruby/RVM - 'require' ile paket çalıştır başarısız: bu dosyayı yükleyemiyorum - bundler (LoadError)
- 4. Nuget başarısız yüklemek-paket
- 5. RVM Komutu: source ~/.rvm/scripts/rvm
- 6. Karabina, RVM
- 7. RVM hatası. Power_assert gem yüklenirken hata geliyor
- 8. Windows altında TCP paket engelleme ve yönlendirme
- 9. RVM ve Jenkins kurulum
- 10. java.lang.RuntimeException: HATA: Sadece benim kullanıcıların birinden bu hata mesajı vardı
- 11. "Hata: JAVA_HOME doğru tanımlanmadı." Jikes rvm binasında
- 12. RubyMine, Vagrant, RVM
- 13. Nuget paket yönetici konsolu bulunamadı Hata
- 14. java servlet hata paket doesnot
- 15. rvm yükleme konumu nasıl değiştirilir?
- 16. RVM yükleniyor: hata alıyor "Bir hata oluştu (23)."
- 17. Güncelleme Nuget 1.6
- 18. Visual Studio 2008'i yükledikten sonra yakalama (TException) işleme bloğu davranışı hata ayıklayıcı altında neden farklıdır?
- 19. gdb hata ayıklama altında uygulama
- 20. Raylar ve Azure: TinyTds :: Hata: Adaptive Server bağlantısı başarısız oldu
- 21. rvm yakut
- 22. CSS güncelleme panosunda hata veriyor
- 23. hata güncelleme MySQL veritabanı php
- 24. RVM Yakut kurulum
- 25. Raylar 4, Capistrano 3 paket exec tırmık varlıkları sırasında başarısız: Hiçbir şey Capistrano'nun ile dağıtma
- 26. Hata: paket com.google.android.gms.appstate mevcut değil
- 27. Başka bir paket altında tutulan bir sınıf yöntemi nasıl çağrılır
- 28. iletki başarısız: Hata:
- 29. GÜNCELLEME
- 30. güncelleme
Hey, gemfile nerede bulabilirim? Ben Linux Uzmanı değilim ve heryerde arama yaptım. Teşekkürler. –
@Paul Fournel, uygulama kök klasörünüze bakın. "Raylar" komutunu çalıştırdığınız yer aynı. Benim durumumda,/home/kosh/projects/rails_app1/Gemfile. –