OS X / gem install / problems

Did some heavy research / hacking but no luck - I built ruby 1.8.5 on my
little iBook [OS X 10.2.8] which went fine - I then went to install gem
but got:

[ommitted]
install user_interaction.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems
install validator.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems
install version.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems
<— lib/rubygems
<— lib
Illegal instruction

[Note the ‘Illegal instruction’]

and if I try to run gems I get:

/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
gem_original_require': no such file to load -- sources (LoadError) from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:inrequire’
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/source_info_cache.rb:6
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:inrequire’
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/remote_installer.rb:12
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:inrequire’
from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:112:in
`manage_gems’
from /usr/local/bin/gem:10

Anyone got any thoughts? Thanks.

On 2/24/07, Brez! !! [email protected] wrote:

Illegal instruction

[Note the ‘Illegal instruction’]

Remove rubygems from site_ruby and try again. Make sure you’ve got
zlib and openssl installed properly for building otherwise.

You may need to dig into what is actually causing the illegal
instruction.

-austin

Thanks for the response - but still no luck / ensure that openssl and
zlib are there. deleted site_ruby/rubygems but still getting the same
error.

?

Austin Z. wrote:

On 2/24/07, Brez! !! [email protected] wrote:

Illegal instruction

[Note the ‘Illegal instruction’]

Remove rubygems from site_ruby and try again. Make sure you’ve got
zlib and openssl installed properly for building otherwise.

You may need to dig into what is actually causing the illegal
instruction.

-austin