all error output state as below:
oneadmin@oneadmin$ sudo gem install sinatra --debug
Exception `NameError' at
/usr/lib/ruby/1.8/rubygems/command_manager.rb:161 - uniniti alized
constant Gem::Commands::InstallCommand
Exception `Gem::LoadError' at /usr/lib/ruby/1.8/rubygems.rb:827 - Could
not find Rub yGem test-unit (>= 0)
Exception `Gem::LoadError' at /usr/lib/ruby/1.8/rubygems.rb:827 - Could
not find Rub yGem sources (> 0.0.1)
Exception `EOFError' at /usr/lib/ruby/1.8/net/protocol.rb:135 - end of
file reached
Exception `Zlib::DataError' at /usr/lib/ruby/1.8/rubygems.rb:599 -
incorrect header check
ERROR: While executing gem ... (Zlib::DataError)
incorrect header check
/usr/lib/ruby/1.8/rubygems.rb:599:in `inflate'
/usr/lib/ruby/1.8/rubygems.rb:599:in `inflate'
/usr/lib/ruby/1.8/rubygems/spec_fetcher.rb:100:in `fetch_spec'
/usr/lib/ruby/1.8/rubygems/spec_fetcher.rb:72:in `fetch'
/usr/lib/ruby/1.8/rubygems/spec_fetcher.rb:71:in `map'
/usr/lib/ruby/1.8/rubygems/spec_fetcher.rb:71:in `fetch'
/usr/lib/ruby/1.8/rubygems/dependency_installer.rb:99:in
`find_gems_with_sources'
/usr/lib/ruby/1.8/rubygems/dependency_installer.rb:192:in
`find_spec_by_name_and_version'
/usr/lib/ruby/1.8/rubygems/dependency_installer.rb:213:in
`install'
/usr/lib/ruby/1.8/rubygems/commands/install_command.rb:118:in
`execute'
/usr/lib/ruby/1.8/rubygems/commands/install_command.rb:115:in
`each'
/usr/lib/ruby/1.8/rubygems/commands/install_command.rb:115:in
`execute'
/usr/lib/ruby/1.8/rubygems/command.rb:257:in `invoke'
/usr/lib/ruby/1.8/rubygems/command_manager.rb:132:in
`process_args'
/usr/lib/ruby/1.8/rubygems/command_manager.rb:102:in `run'
/usr/lib/ruby/1.8/rubygems/gem_runner.rb:58:in `run'
/usr/bin/gem:21
oneadmin@oneadmin$ sudo gem install thin --debug
Exception `NameError' at
/usr/lib/ruby/1.8/rubygems/command_manager.rb:161 - uninitialize
d constant Gem::Commands::InstallCommand
Exception `Gem::LoadError' at /usr/lib/ruby/1.8/rubygems.rb:827 - Could
not find RubyGem
test-unit (>= 0)
Exception `Gem::LoadError' at /usr/lib/ruby/1.8/rubygems.rb:827 - Could
not find RubyGem
sources (> 0.0.1)
Exception `EOFError' at /usr/lib/ruby/1.8/net/protocol.rb:135 - end of
file reached
Exception `Zlib::DataError' at /usr/lib/ruby/1.8/rubygems.rb:599 -
incorrect header check
ERROR: While executing gem ... (Zlib::DataError)
incorrect header check
/usr/lib/ruby/1.8/rubygems.rb:599:in `inflate'
/usr/lib/ruby/1.8/rubygems.rb:599:in `inflate'
/usr/lib/ruby/1.8/rubygems/spec_fetcher.rb:100:in `fetch_spec'
/usr/lib/ruby/1.8/rubygems/spec_fetcher.rb:72:in `fetch'
/usr/lib/ruby/1.8/rubygems/spec_fetcher.rb:71:in `map'
/usr/lib/ruby/1.8/rubygems/spec_fetcher.rb:71:in `fetch'
/usr/lib/ruby/1.8/rubygems/dependency_installer.rb:99:in
`find_gems_with_sources'
/usr/lib/ruby/1.8/rubygems/dependency_installer.rb:192:in
`find_spec_by_name_and_
version'
/usr/lib/ruby/1.8/rubygems/dependency_installer.rb:213:in
`install'
/usr/lib/ruby/1.8/rubygems/commands/install_command.rb:118:in
`execute'
/usr/lib/ruby/1.8/rubygems/commands/install_command.rb:115:in
`each'
/usr/lib/ruby/1.8/rubygems/commands/install_command.rb:115:in
`execute'
/usr/lib/ruby/1.8/rubygems/command.rb:257:in `invoke'
/usr/lib/ruby/1.8/rubygems/command_manager.rb:132:in
`process_args'
/usr/lib/ruby/1.8/rubygems/command_manager.rb:102:in `run'
/usr/lib/ruby/1.8/rubygems/gem_runner.rb:58:in `run'
/usr/bin/gem:21
this my new gem enviroment
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.5
- RUBY VERSION: 1.8.7 (2010-01-10 patchlevel 249) [x86_64-linux]
- INSTALLATION DIRECTORY: /var/lib/gems/1.8
- RUBY EXECUTABLE: /usr/bin/ruby1.8
- EXECUTABLE DIRECTORY: /var/lib/gems/1.8/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86_64-linux
- GEM PATHS:
- /var/lib/gems/1.8
- /srv/cloud/one/.gem/ruby/1.8
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- http://gems.rubyforge.org/
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.