$ sudo gem update
Updating installed gems
Updating activesupport
ERROR: While executing gem ... (ArgumentError)
string contains null byte
WTF?
Das passiert, so wie ich das erkennen konnte, mit allen Gems, die zu Rails gehören.
Gut, ich habe dann mal, immer wenn ich auf so ein Gem traf, dieses testhalber mal deinstalliert.
$ sudo gem update
Updating installed gems
Updating net-ssh
Successfully installed net-ssh-2.0.15
Updating treetop
Successfully installed treetop-1.4.1
Gems updated: net-ssh, treetop
Und wie man sieht, laufen andere Gems (die nichts mit Rails zu tun haben) anstandslos durch.
Hat irgend jemand ein Erklärung dafür?
$ gem env
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.4
- RUBY VERSION: 1.9.2 (2009-09-03 patchlevel -1) [i686-linux]
- INSTALLATION DIRECTORY: /usr/local/lib/ruby/gems/1.9.1
- RUBY EXECUTABLE: /usr/local/bin/ruby
- EXECUTABLE DIRECTORY: /usr/local/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86-linux
- GEM PATHS:
- /usr/local/lib/ruby/gems/1.9.1
- /home/tp/.gem/ruby/1.9.1
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- :sources => ["http://gems.rubyforge.org/", "http://gems.github.com"]
- "rdoc" => "--inline-source --line-numbers --format=html --template=hanna"
- REMOTE SOURCES:
- http://gems.rubyforge.org/
- http://gems.github.com
Keine Kommentare:
Kommentar veröffentlichen