Hi Guys, I've managed to install Ruby on Rails on Ubuntu 9.10, got it that up and running, installed mysql as well. I use Netbeans 6.8 as the IDE, and from there I can connect from a RoR project to the database with JDBCMYSQL connector, no problem.
I can run the project, and get to what seems to be the default index file in the browser, it has a button there to click that shows then the status of the environment, I', very happy with that. (localhost:8080/RailsApplication6/)
However, 2 problems then occurs. I type in localhost:8080/RailsApplication6/book/list and it just throws an error about that that get is not defined in the routes That is just bizarre, since the default route in routes.rb should take care of it right? "No route matches with {:method=>get}"
secondly, when restart linux (reboot pc), then when I run the project again, I land up with the page HTTP Status 40 type Status report message descriptionThe requested resource () is not available. for both localhost:8080/RailsApplication6/ localhost:8080/RailsApplication6/book/list
It seems that I have some config somewhere wrong and I can't seem to figure out what. Im following the example from www.tutorialspoint.com/ruby-on-rails/rails-directory-structure.htm I thought it should be as simple as just reading, typing and compiling, but not so it seems. Any pointers are welcome, thanks!