Try to install dev lib for zlib: $ sudo apt-get -y install zlib zlib-devel
On 31 окт, 03:11, "MaT 2." <[email protected]> wrote: > hello.. > > i have problem with rubygems version 1.8.7 on ubuntu 10.04 server LTS > 64bit.this rubygems i also try both installation automatic using apt-get > package manager and using manually installation but the problem also > same. > the problem occur when i try to install any gems installation > package.i try many solution to solve the problem like remove and install > back rubygems.i also format computer then install back ruby and rubygems > but still cannot solve this problem.so i hope any rubygem expert can > help me solved this kind of problem.below are the following error that > appear after i execute gem install command. > > sudo gem install any-package > > ERROR: While executing gem ... (Zlib::DataError) > incorrect header check. > > and my environment for gems > > oneadmin@server:~$ gem env > RubyGems Environment: > - RUBYGEMS VERSION: 1.8.10 > - RUBY VERSION: 1.8.7 (2010-01-10 patchlevel 249) [x86_64-linux] > - INSTALLATION DIRECTORY: /usr/lib/ruby/gems/1.8 > - RUBY EXECUTABLE: /usr/bin/ruby1.8 > - EXECUTABLE DIRECTORY: /usr/bin > - RUBYGEMS PLATFORMS: > - ruby > - x86_64-linux > - GEM PATHS: > - /usr/lib/ruby/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://rubygems.org/ > > -- > Posted viahttp://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.

