Action Controller: Exception caught

I'm getting:

Routing Error

no route found to match "/expenses/" with {:method=>:get}

When pointing the browser to <http://localhost:3000/expenses/> as per the
tutorial at <>. (No,
I'm not a Mac user.)

Is this due to something I'm doing (code wise) or a configuration of
rails or ruby? Google indicates that it may be due to rails
configuration, but it seems more likely that I've made an error given
that I'm learning.

At first I thought there was a problem with the database configuration,
but that seems fine.

My results:

thufir@arrakis ~/rubyCode/expenses $
thufir@arrakis ~/rubyCode/expenses $ rake db:migrate VERSION=0 --trace
(in /home/thufir/rubyCode/expenses)
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:migrate
== Accounts: reverting

After deleting expenses/public/index.html and going to <http://
localhost:3000/> I get:

Routing Error

no route found to match "/" with {:method=>:get}

Is the tutorial in error? It says:

$ script/server

Then point your web browser at http://localhost:3000/expenses. You should
see the web page that lets you create new accounts.


Looking for a different tutorial :slight_smile: