cross compilation issue.

R

Rajesh V2k

Hi,

I need to configure ruby in the timesys machine (powerpc linux), I have
done the cross compilation and got the Binaries for ruby 1.9.2po, And
the ruby is running, But the other ruby utilities(irb, gem etc) are not
showing up at all.

I'm getting the this error

no such file to load "rubygem".

Have any one tried doing things of this kind?.

Remember timesys is a version for embedded linux.

Please Help!!!
 
S

Stefano Crocco

It's not bundled
with ruby, you need to install it seperately

This is only true for ruby 1.8. ruby 1.9.x, which is what the OP is trying to
install, does include rubygems.

Stefano
 
R

Rob Biedenharn

Ruby 1.9 has support for rubygems built-in. You do *not* need to first
require 'rubygems' in 1.9 before requiring a gem or using the `gem`
method to restrict the version of a gem. (However, including a
`require 'rubygems'` in your 1.9 source will not cause a problem.)

-Rob

first of all: you need to require "rubygems", not "rubygem".
Also: rubygems is not a binary, it's written in ruby. It's not bundled
with ruby, you need to install it seperately. Download from
http://rubygems.org/, then run "ruby setup.rb install" (probably as
root)
I'm not sure why irb is not there, it's written in ruby as well but
part
of the source distribution, so should be there. I don't know though if
this changed in 1.9...

hope this helps..
-- niklas

Rob Biedenharn
(e-mail address removed) http://AgileConsultingLLC.com/
(e-mail address removed) http://GaslightSoftware.com/
 

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

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,022
Latest member
MaybelleMa

Latest Threads

Top