No route matches [GET] "/hello_world" 进入route.rb中把这行注释去掉就可以了。 # match ':controller(/:action(/:id(.:format)))'