Hello everybody...
I want to install Redmine Project Management in my PC (Windows XP),
whose requirement is Ruby On Rails. So I need to install Ruby on my
machine and it is at that point where I've got my first problems.
Other requirements of Redmine are RubyGems 1.3.1 and Rake 0.8.3.
Well, First, I have downloaded Ruby from
http://rubyforge.org/frs/?group_id=167 and installed it. It worked well.
Then I have downloaded RubyGems from
http://rubyforge.org/frs/?group_id=126 and installed it. It worked well
too.
Now I have problems installing Rails. The page
http://rubyonrails.org/download says that to install rails I have to
issue this command: gem install rails. After I issued that command, this
error was shown:
ERROR: http://rubygems.org/ does not appear to be a repository
ERROR: could not find gem rails locally or in a repository
I thought I have to download Rails and place somewhere in my disk, so I
downloaded rails-2.2.3.tar file but I don't know how can I tell gem to
load it and install it. By the way, that file was downloaded from
http://rubyforge.org/frs/?group_id=307 and strangely although the file
name should be rails-2.2.3.gem, it was downloaded as rails-2.2.3.tar.
Well... giving up with Rails installation, I continued with Rake. I have
downloaded it and in this case I uncompressed the tar file and then
execute the install.rb file with ruby command but I got an error
concerning ftools.
ruby c:\rake\install.rb
c:/rake/install.rb:3:in `require': no such file to load -- ftools
(LoadError)
from c:/rake/install.rb:3:in `<main>'
Well.... to finish fighting with this, I searched for ftools and I have
found that it belongs to the ruby standard library. Well, I downloaded
the file ruby-doc-stdlib-0.10.1.tar and uncompress it. Then, after
changing to that directory, I issued the ruby command again, getting
another error:
ruby install.rb
install.rb:86: formal argument cannot be an instance variable ...on to
DIR/stdlib") { |@doc_base| }
... ^
Finally I gave up and decided to ask to the list.
Why is so difficult to install it? Can you please point me in the right
direction?
Thanks a lot in advanced,
Jaime