Gem install rails --include-dependencies fails

Hello,

I'm very new to ruby, and don't understand the following error,

while trying to
auto-install rubyonrails via gem;

[root@svrlnweb02 root]# gem install rails --include-dependencies
/opt/rubygems/0.8.11/bin/gem:3:in `require’: no such file to load –
rubygems (LoadError)
from /opt/rubygems/0.8.11/bin/gem:3

[root@svrlnweb02 root]# type gem
gem is hashed (/opt/rubygems/0.8.11/bin/gem)

[root@svrlnweb02 root]# ls /opt/rubygems/0.8.11/bin/
gem gem_mirror gem_server gemwhich generate_yaml_index.rb
update_rubygems

[root@svrlnweb02 root]# type ruby
ruby is hashed (/usr/local/bin/ruby)

Can you advise ?

Best Regards,


Olivier Kaloudoff
Linux / Solaris Support / IT Design Nice

Texas Instruments France
821 av Jack Kilby
06270 VILLENEUVE LOUBET