Todd Benson
10/8/2008 9:03:00 PM
On Wed, Oct 8, 2008 at 3:18 PM, Steve Dame <stephen.g.dame@boeing.com> wrote:
> I'm trying to just to a first time install of gems (and net/ssh ) in
> particular... and I can't even do a
>
>> gem update --system
>
> I get the following dump (any idea how to fix this?)
>
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
> `gem_original_require': no such file to load -- zlib (LoadError)
> from
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
> `require'
> from
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:1
> from
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
> `gem_original_require'
> from
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
> `require'
> from
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/commands/update_command.rb:5
> from
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
> `gem_original_require'
> from
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
> `require'
> from
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:140:in
> `load_and_instantiate'
> from
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:65:in `[]'
> from
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:118:in
> `find_command'
> from
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:104:in
> `process_args'
> from
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:75:in
> `run'
> from
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:39:in `run'
> from /usr/local/bin/gem:24
I had a similar error in Ubuntu, but I think I fixed it by making sure
I had the development libraries for compression. That was a while
ago, so I can't recall exactly how I fixed it.
Todd