OS X / gem install / problems..

B

Brez! !!

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

Austin Ziegler

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

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
 
B

Brez! !!

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 said:
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
 

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,769
Messages
2,569,582
Members
45,068
Latest member
MakersCBDIngredients

Latest Threads

Top