按照robbin的文档安装好rails环境ruby1.8.7、rails2.1,启动服务: ruby script/server这都没问题,可是访问应用时报错:No route matches,具体日志如下:
[code="java"]
Processing ApplicationController#index (for 127.0.0.1 at 2010-06-10 21:44:23) [GET]
Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo
SGFzaHsABjoKQHVzZWR7AA==--e8d6aac3c058870923dc857beb7ce73a66838044
Parameters: {}
ActionController::RoutingError (No route matches "/say/hello" with {:method=>:get}):
/vendor/rails/actionpack/lib/action_controller/routing/recognition_optimisation.rb:67:in recognize_path'
recognize'
/vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:384:in
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:148:in handle_request'
dispatch'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:107:in
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in synchronize'
dispatch'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:120:in dispatch_cgi'
dispatch'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:35:in
/vendor/rails/railties/lib/fcgi_handler.rb:103:in process_request'
with_signal_handler'
/vendor/rails/railties/lib/fcgi_handler.rb:153:in
/vendor/rails/railties/lib/fcgi_handler.rb:101:in process_request'
process_each_request'
/vendor/rails/railties/lib/fcgi_handler.rb:78:in
/usr/local/lib/site_ruby/1.8/fcgi.rb:612:in each_cgi'
each'
/usr/local/lib/site_ruby/1.8/fcgi.rb:609:in
/usr/local/lib/site_ruby/1.8/fcgi.rb:609:in each_cgi'
process_each_request'
/vendor/rails/railties/lib/fcgi_handler.rb:77:in
/vendor/rails/railties/lib/fcgi_handler.rb:76:in catch'
process_each_request'
/vendor/rails/railties/lib/fcgi_handler.rb:76:in
/vendor/rails/railties/lib/fcgi_handler.rb:50:in process!'
process!'
/vendor/rails/railties/lib/fcgi_handler.rb:24:in
/public/dispatch.fcgi:26
Rendering /home/cmaster/web/demo/vendor/rails/actionpack/lib/action_controller/templates/rescues/layout.erb (not_found)
[/code]