Newbie install problem

T

Terry Carmen

Could somene take a moment and translate this into English for me?

I'm trying to install NorfelloCMMS, which runs on Ruby/Rails, and the
prerequisites instructions say to run:

gem install rmagick gettext libxml-ruby

Which immediately blows up with the error message below. Any help
would be appreciated.

This is a virgin install of Centos 5.0 with freshly downloaded and
installed ruby (source install from the ruby site).

It seems to be unhappy about "gem_original_require" but I haven't got
a clue where this should be or come from.

Any thoughts?

Thanks!

Terry

/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require': no such file to load -- zlib (LoadError)
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:31:in `require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/package.rb:10
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:31:in `gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:31:in `require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/format.rb:9
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:31:in `gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:31:in `require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/installer.rb:
11
... 11 levels...
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
 
T

Terry Carmen

rmagick has a ton of prerequisites.
sounds like you need to start by installing zlib

http://www.zlib.net/


zlib and zlib-devel are installed (from yum). Supposedly ruby has zlib
support built in. Is there anything I need to do to let ruby find
zlib?

Thsnks!

Terry

[root@li48-219 ruby-1.8.7-p72]# gem install zlib rails redcloth
rmagick gettext libxml-ruby
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require': no such file to load -- zlib (LoadError)
 
K

Kris Windham

zlib and zlib-devel are installed (from yum). Supposedly ruby has zlib
support built in. Is there anything I need to do to let ruby find
zlib?

Thsnks!

Terry

[root@li48-219 ruby-1.8.7-p72]# gem install zlib rails redcloth
rmagick gettext libxml-ruby
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require': no such file to load -- zlib (LoadError)


Ruby-zlib should be built into Ruby 1.8

you might want to try building ruby-zlib by hand

wget http://www.blue.sky.or.jp/atelier/ruby/ruby-zlib-0.6.0.tar.gz
tar xvzf ruby-zlib-0.6.0.tar.gz
cd ruby-zlib-0.6.0
ruby extconf.rb && make && make install


then, I would try reinstalling Ruby Gems from source.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,050
Latest member
AngelS122

Latest Threads

Top