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:in
`require'
        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:in
`require'
        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:in
`require'
        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.

···

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

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

···

On 2/24/07, Brez! !! <jbresnik@gmail.com> wrote:

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']

--
Austin Ziegler * halostatue@gmail.com * http://www.halostatue.ca/
               * austin@halostatue.ca * You are in a maze of twisty little passages, all alike. // halo • statue
               * austin@zieglers.ca

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 Ziegler wrote:

···

On 2/24/07, Brez! !! <jbresnik@gmail.com> 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

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