T
Timothy Mr.
Hey all,
I'm trying to add to install the program Bangkok as a gem, but every
time I try I get this error.
sudo gem install bangkok
/usr/local/lib/ruby/site_ruby/1.9.1/rubygems/package.rb:10:in `require':
no such file to load -- zlib (LoadError)
from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/package.rb:10:in
`<top (required)>'
from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/format.rb:9:in
`require'
from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/format.rb:9:in `<top
(required)>'
from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:11:in
`require'
from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:11:in
`<top (required)>'
from
/usr/local/lib/ruby/site_ruby/1.9.1/rubygems/dependency_installer.rb:3:in
`require'
from
/usr/local/lib/ruby/site_ruby/1.9.1/rubygems/dependency_installer.rb:3:in
`<top (required)>'
from
/usr/local/lib/ruby/site_ruby/1.9.1/rubygems/commands/install_command.rb:4:in
`require'
from
/usr/local/lib/ruby/site_ruby/1.9.1/rubygems/commands/install_command.rb:4:in
`<top (required)>'
from
/usr/local/lib/ruby/site_ruby/1.9.1/rubygems/command_manager.rb:167:in
`require'
from
/usr/local/lib/ruby/site_ruby/1.9.1/rubygems/command_manager.rb:167:in
`rescue in load_and_instantiate'
from
/usr/local/lib/ruby/site_ruby/1.9.1/rubygems/command_manager.rb:159:in
`load_and_instantiate'
from
/usr/local/lib/ruby/site_ruby/1.9.1/rubygems/command_manager.rb:88:in
`[]'
from
/usr/local/lib/ruby/site_ruby/1.9.1/rubygems/command_manager.rb:144:in
`find_command'
from
/usr/local/lib/ruby/site_ruby/1.9.1/rubygems/command_manager.rb:131:in
`process_args'
from
/usr/local/lib/ruby/site_ruby/1.9.1/rubygems/command_manager.rb:102:in
`run'
from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/gem_runner.rb:58:in
`run'
from /usr/local/bin/gem:21:in `<main>'
I've tried reinstalling the latest version of Gems, but it didn't seem
to help. Any ideas? Thanks!
I'm trying to add to install the program Bangkok as a gem, but every
time I try I get this error.
sudo gem install bangkok
/usr/local/lib/ruby/site_ruby/1.9.1/rubygems/package.rb:10:in `require':
no such file to load -- zlib (LoadError)
from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/package.rb:10:in
`<top (required)>'
from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/format.rb:9:in
`require'
from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/format.rb:9:in `<top
(required)>'
from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:11:in
`require'
from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:11:in
`<top (required)>'
from
/usr/local/lib/ruby/site_ruby/1.9.1/rubygems/dependency_installer.rb:3:in
`require'
from
/usr/local/lib/ruby/site_ruby/1.9.1/rubygems/dependency_installer.rb:3:in
`<top (required)>'
from
/usr/local/lib/ruby/site_ruby/1.9.1/rubygems/commands/install_command.rb:4:in
`require'
from
/usr/local/lib/ruby/site_ruby/1.9.1/rubygems/commands/install_command.rb:4:in
`<top (required)>'
from
/usr/local/lib/ruby/site_ruby/1.9.1/rubygems/command_manager.rb:167:in
`require'
from
/usr/local/lib/ruby/site_ruby/1.9.1/rubygems/command_manager.rb:167:in
`rescue in load_and_instantiate'
from
/usr/local/lib/ruby/site_ruby/1.9.1/rubygems/command_manager.rb:159:in
`load_and_instantiate'
from
/usr/local/lib/ruby/site_ruby/1.9.1/rubygems/command_manager.rb:88:in
`[]'
from
/usr/local/lib/ruby/site_ruby/1.9.1/rubygems/command_manager.rb:144:in
`find_command'
from
/usr/local/lib/ruby/site_ruby/1.9.1/rubygems/command_manager.rb:131:in
`process_args'
from
/usr/local/lib/ruby/site_ruby/1.9.1/rubygems/command_manager.rb:102:in
`run'
from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/gem_runner.rb:58:in
`run'
from /usr/local/bin/gem:21:in `<main>'
I've tried reinstalling the latest version of Gems, but it didn't seem
to help. Any ideas? Thanks!