On Tue, 17 Apr 2007, Bob Cober wrote:

> We are trying to install ruby and rubygems on a RedHat AS 3 server.  It
> is behind a firewall and uses a proxy.
>
> The rubygems Setup.rb is failing.
>
> Thanks in advance for any help.

<snip>

> /usr/lib/site_ruby/1.6/rubygems/source_index.rb:8:in `require':
> /usr/lib/site_ruby/1.6/rubygems/remote_fetcher.rb:12: syntax error
> (SyntaxError)
> class Gem::RemoteSourceException < Gem::Exception; end
>           ^

you are using an ancient ruby.  probably ruby 1.6.8 (several years old).

redhat bites in this respect.

you'll want to install 1.8.5 iff possible.

regards.

-a
-- 
be kind whenever possible... it is always possible.
- the dalai lama