ruby on rails installation problem

inventor

Member
May 14, 2006
7
0
151
HI,

I try to install the ruby on rails on my dedicated server but I've got a problem.

This the step that I do :

I have upload ruby-1.8.4

I make ./configure ruby-1.8.4 && make && make install

at this time it's okay



after :

cd /usr/local/src
wget rubyforge.org/frs/download.php/5207/rubygems-0.8.11.tgz
tar -xvzf rubygems-0.8.11.tgz
cd rubygems-0.8.11
ruby setup.rb
but it's here my problem , when I type ruby setup.rb I've got this error :

commande not found
or when I try to test this command : ./setup.rb I've got this errors

./setup.rb: line 11: syntax error near unexpected token `('
./setup.rb: line 11: `unless Enumerable.method_defined?:)map) # Ruby 1.4.6'
Any idears ?
Thanks in advance

ps: I use php 4.4.2 : CentOS 4.3 i686