Please list versions you are running:
I would suggest getting ruby installed, then install gems, then use
gems to install rails.
Test your ruby on rails install with webrick, a small web server
written in ruby that comes with rails. This will tell you that Ruby
and Rails are installed and working.
Once Ruby, gems, and Rails are installed and working, then start on
Apache, MySQL, and FastCGI.
This seperation of steps will make it more clear where the problem(s)