On Nov 13, 5:48    쮮wrote:
> I'm trying to install a fresh copy of Ruby into empty directory
> '/modlest/modlusr/ruby' on a stock Red Hat server but it doesn't work.
> Here's what I've done:
>
> [...]
>
> /modlest/users/erik/ruby-1.8.7-p174> which ruby
> ->/modlest/modlusr/ruby/bin/ruby
>
> /modlest/users/erik/rubygems-1.3.3> echo $GEM_HOME
> ->/modlest/modlusr/ruby/gems
>
> /modlest/users/erik/rubygems-1.3.3> ruby setup.rb
> --prefix=/modlest/modlusr/ruby
> ->all seems to go okay
>

You shouldn't be prefix'ing RubyGems installation, it should detect
Ruby installation options and use them.

Can you create a pastie of the actual output where rubygems.rb is
being copied?

(you didn't include that, which could be a hint of what is going on)

--
Luis Lavena