I am just starting with Ruby on Rails, because I was told that it is a powerful framework to build web applications.
Maybe it is true, but I can not test it (yet). My problem is that even if in the tutorials everything seem to be clear and easy, I think I am missing steps during configuration. I have a xampp1.7.4 server running on my Ubuntu10.10 system, which is loocated in/opt/lampp
Then, following this tutorial or any other, I made the first step:
rails myProyect
It generates a new folder with a structure of a RoR project. Then I paste that folder on /opt/lampp/htdocs and just going to http://localhost/myProject/ it should appear the RoR welcome message, but instead I am getting the tree of the folder, as the image attached shows.
Can anybody help me to figure out what I have missed?? Thanks in adva开发者_开发问答nce
If you want to use rails on apache, you should look into http://www.modrails.com/ And if you want to test your first rails application just go to the app directory and start WEBrick (simple http server):
cd /opt/lampp/htdocs/myProject
rails server
精彩评论