Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Newbie install problem

9 views
Skip to first unread message

Terry Carmen

unread,
Nov 8, 2008, 3:14:23 PM11/8/08
to
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

Kris Windham

unread,
Nov 8, 2008, 3:25:44 PM11/8/08
to
rmagick has a ton of prerequisites.
sounds like you need to start by installing zlib

http://www.zlib.net/

> /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> `gem_original_require': no such file to load -- zlib (LoadError)


--
Posted via http://www.ruby-forum.com/.

Terry Carmen

unread,
Nov 8, 2008, 5:43:01 PM11/8/08
to


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

Kris Windham

unread,
Nov 8, 2008, 8:03:06 PM11/8/08
to

> 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.

0 new messages