From: Rob Biedenharn Date: 2010-12-22T23:45:02+09:00 Subject: Re: cross compilation issue. 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 On Dec 22, 2010, at 9:16 AM, niklas | brueckenschlaeger wrote: > 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 > > On Wed, 2010-12-22 at 22:45 +0900, Rajesh V2k wrote: >> 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!!! >> > Rob Biedenharn Rob@AgileConsultingLLC.com http://AgileConsultingLLC.com/ rab@GaslightSoftware.com http://GaslightSoftware.com/