Hi,
I think the only thing I did since everything was ok was to run ''gems
update rails'' Now I cannot run anything.
When I try to go to http://localhost:3000/say/hello
I get
Not Found
`/say/hello'' not found.
WEBrick/1.3.1 (Ruby/1.8.2/2004-12-25) at localhost:3000
Any idea what is wrong?
Thanks,
Peter
peter-michauxs-computer:~/work/demo peter$ ruby script/server
=> Rails application started on http://0.0.0.0:3000
=> Ctrl-C to shutdown server; call with --help for options
[2005-10-31 18:40:14] INFO WEBrick 1.3.1
[2005-10-31 18:40:14] INFO ruby 1.8.2 (2004-12-25)
[powerpc-darwin7.8.0]
[2005-10-31 18:40:14] INFO WEBrick::HTTPServer#start: pid=1531
port=3000
#<ActionController::SessionRestoreError: Session contained objects
where the class definition wasn''t available. Remember to require
classes for all objects kept in the session. (Original exception:
uninitialized constant Cart [NameError])>
["/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/
action_controller/cgi_process.rb:106:in `session''",
"/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/
action_controller/base.rb:815:in `assign_shortcuts''",
"/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/
action_controller/base.rb:359:in
`process_without_session_management_support''",
"/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/
action_controller/session_management.rb:116:in `process''",
"/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/
action_controller/rescue.rb:20:in `process_with_exception''",
"/usr/local/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/dispatcher.rb:38:in
`dispatch''",
"/usr/local/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/webrick_server.rb:
117:in `handle_dispatch''",
"/usr/local/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/webrick_server.rb:
83:in `service''",
"/usr/local/lib/ruby/1.8/webrick/httpserver.rb:104:in
`service''",
"/usr/local/lib/ruby/1.8/webrick/httpserver.rb:65:in
`run''", "/usr/local/lib/ruby/1.8/webrick/server.rb:155:in
`start_thread''",
"/usr/local/lib/ruby/1.8/webrick/server.rb:144:in
`start''", "/usr/local/lib/ruby/1.8/webrick/server.rb:144:in
`start_thread''",
"/usr/local/lib/ruby/1.8/webrick/server.rb:94:in
`start''", "/usr/local/lib/ruby/1.8/webrick/server.rb:89:in
`each''",
"/usr/local/lib/ruby/1.8/webrick/server.rb:89:in `start''",
"/usr/local/lib/ruby/1.8/webrick/server.rb:79:in `start''",
"/usr/local/lib/ruby/1.8/webrick/server.rb:79:in `start''",
"/usr/local/lib/ruby/gems/1.8/gems/rails-0.14.2/lib/webrick_server.rb:
69:in `dispatch''", "script/server:49"]
[2005-10-31 18:40:21] ERROR `/say/hello'' not found.
127.0.0.1 - - [31/Oct/2005:18:40:20 PST] "GET /say/hello HTTP/1.1" 404
279
- -> /say/hello
127.0.0.1 - - [31/Oct/2005:18:40:21 PST] "GET /favicon.ico HTTP/1.1"
304 0
- -> /favicon.ico