Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ruby-on-rails/66.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby on rails heroku运行分离rake db设置错误_Ruby On Rails_Ruby_Heroku_Ruby On Rails 4 - Fatal编程技术网

Ruby on rails heroku运行分离rake db设置错误

Ruby on rails heroku运行分离rake db设置错误,ruby-on-rails,ruby,heroku,ruby-on-rails-4,Ruby On Rails,Ruby,Heroku,Ruby On Rails 4,我正在学习[RubyonRails教程, 我在Heroku上运行我的应用程序有困难。我希望能找到人帮助我 这是我的问题日志,它是在我运行命令时生成的 heroku运行:分离的rake db:设置 2014-01-19T07:49:39.839922+00:00 app[run.4729]: -> 0.1320s 2014-01-19T07:49:39.839922+00:00 app[run.4729]: -- create_table("comments", {:force=>

我正在学习[RubyonRails教程, 我在Heroku上运行我的应用程序有困难。我希望能找到人帮助我

这是我的问题日志,它是在我运行命令时生成的

heroku运行:分离的rake db:设置

2014-01-19T07:49:39.839922+00:00 app[run.4729]:    -> 0.1320s
2014-01-19T07:49:39.839922+00:00 app[run.4729]: -- create_table("comments", {:force=>true})
2014-01-19T07:49:39.839922+00:00 app[run.4729]: -- add_index("comments", ["post_id"], {:name=>"index_comments_on_post_id", :using=>:btree})
2014-01-19T07:49:39.839922+00:00 app[run.4729]:    -> 0.0365s
2014-01-19T07:49:39.839922+00:00 app[run.4729]: -- create_table("posts", {:force=>true})
2014-01-19T07:49:39.839922+00:00 app[run.4729]: -- initialize_schema_migrations_table()
2014-01-19T07:49:39.839922+00:00 app[run.4729]:    -> 1.0849s
2014-01-19T07:49:39.839922+00:00 app[run.4729]:    -> 0.0030s
2014-01-19T07:49:39.839922+00:00 app[run.4729]:    -> 0.0897s
2014-01-19T07:49:41.011590+00:00 heroku[run.4729]: Process exited with status 0
2014-01-19T07:49:41.028919+00:00 heroku[run.4729]: State changed from up to complete
2014-01-19T08:19:28.504357+00:00 heroku[api]: Starting process with command `bundle exec rake db:migrate` by fcamatti@gmail.com
2014-01-19T08:19:32.472345+00:00 heroku[run.8654]: Starting process with command `bundle exec rake db:migrate`
2014-01-19T08:19:33.081263+00:00 heroku[run.8654]: State changed from starting to up
2014-01-19T08:19:36.539370+00:00 heroku[run.8654]: Process exited with status 0
2014-01-19T08:19:36.559509+00:00 heroku[run.8654]: State changed from up to complete
2014-01-19T08:20:14.858681+00:00 heroku[web.1]: Unidling
2014-01-19T08:20:14.858681+00:00 heroku[web.1]: State changed from down to starting
2014-01-19T08:20:17.912642+00:00 heroku[web.1]: Starting process with command `bin/rails server -p 3628 -e $RAILS_ENV`
2014-01-19T08:20:20.280071+00:00 app[web.1]: [2014-01-19 08:20:20] INFO  WEBrick 1.3.1
2014-01-19T08:20:20.280071+00:00 app[web.1]: [2014-01-19 08:20:20] INFO  ruby 2.0.0 (2013-11-22) [x86_64-linux]
2014-01-19T08:20:20.280071+00:00 app[web.1]: [2014-01-19 08:20:20] INFO  WEBrick::HTTPServer#start: pid=2 port=3628
2014-01-19T08:20:20.797806+00:00 heroku[web.1]: State changed from starting to up
2014-01-19T08:20:22.002181+00:00 heroku[router]: at=info method=GET path=/ host=shrouded-hamlet-9456.herokuapp.com request_id=9b341ac3-c58c-489b-ad47-91076a5f762d fwd="124.149.104.105" dyno=web.1 connect=1ms service=88ms status=404 bytes=1351
2014-01-19T08:20:25.860279+00:00 heroku[router]: at=info method=GET path=/favicon.ico host=shrouded-hamlet-9456.herokuapp.com request_id=76b6c4db-a957-4831-b86d-eeae8a5f25bb fwd="124.149.104.105" dyno=web.1 connect=1ms service=8ms status=404 bytes=1351
2014-01-19T09:25:18.132575+00:00 heroku[web.1]: Idling
2014-01-19T09:25:18.133586+00:00 heroku[web.1]: State changed from up to down
2014-01-19T09:25:20.870101+00:00 heroku[web.1]: Stopping all processes with SIGTERM
2014-01-19T09:25:21.483722+00:00 app[web.1]:    /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:160:in `start'
2014-01-19T09:25:21.483722+00:00 app[web.1]:    /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.2/lib/rails/commands.rb:71:in `tap'
2014-01-19T09:25:21.483924+00:00 app[web.1]:    /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.2/lib/rails/commands.rb:71:in `<top (required)>'
2014-01-19T09:25:21.483722+00:00 app[web.1]: [2014-01-19 09:25:21] FATAL SignalException: SIGTERM
2014-01-19T09:25:21.483722+00:00 app[web.1]:    /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/server.rb:264:in `start'
2014-01-19T09:25:21.483722+00:00 app[web.1]:    /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:170:in `block in start'
2014-01-19T09:25:21.483722+00:00 app[web.1]:    /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.2/lib/rails/commands/server.rb:84:in `start'
2014-01-19T09:25:21.483722+00:00 app[web.1]:    /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:170:in `select'
2014-01-19T09:25:21.483722+00:00 app[web.1]:    /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:32:in `start'
2014-01-19T09:25:21.483722+00:00 app[web.1]:    /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb:14:in `run'
2014-01-19T09:25:21.483924+00:00 app[web.1]:    bin/rails:4:in `require'
2014-01-19T09:25:21.483924+00:00 app[web.1]:    bin/rails:4:in `<main>'
2014-01-19T09:25:21.484393+00:00 app[web.1]: [2014-01-19 09:25:21] INFO  WEBrick::HTTPServer#start done.
2014-01-19T09:25:21.483722+00:00 app[web.1]:    /app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.2/lib/rails/commands.rb:76:in `block in <top (required)>'
2014-01-19T09:25:21.483924+00:00 app[web.1]: [2014-01-19 09:25:21] INFO  going to shutdown ...
2014-01-19T09:25:21.510762+00:00 app[web.1]: => Booting WEBrick
2014-01-19T09:25:21.510762+00:00 app[web.1]: => Rails 4.0.2 application starting in production on http://0.0.0.0:3628
2014-01-19T09:25:21.510762+00:00 app[web.1]: => Ctrl-C to shutdown server
2014-01-19T09:25:21.510762+00:00 app[web.1]: => Run `rails server -h` for more startup options
2014-01-19T09:25:21.510762+00:00 app[web.1]: F, [2014-01-19T08:20:22.006714 #2] FATAL -- : 
2014-01-19T09:25:21.510762+00:00 app[web.1]: I, [2014-01-19T08:20:21.933721 #2]  INFO -- : Started GET "/" for 124.149.104.105 at 2014-01-19 08:20:21 +0000
2014-01-19T09:25:21.510762+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
2014-01-19T09:25:21.510762+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2014-01-19T09:25:21.510762+00:00 app[web.1]: ActionController::RoutingError (No route matches [GET] "/"):
2014-01-19T09:25:21.510762+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/railties-4.0.2/lib/rails/rack/logger.rb:38:in `call_app'
2014-01-19T09:25:21.510982+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/railties-4.0.2/lib/rails/rack/logger.rb:20:in `block in call'
2014-01-19T09:25:21.510982+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.2/lib/active_support/tagged_logging.rb:67:in `block in tagged'
2014-01-19T09:25:21.510982+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
2014-01-19T09:25:21.510982+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.2/lib/active_support/tagged_logging.rb:67:in `tagged'
2014-01-19T09:25:21.510982+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.2/lib/active_support/tagged_logging.rb:25:in `tagged'
2014-01-19T09:25:21.510982+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/request_id.rb:21:in `call'
2014-01-19T09:25:21.510982+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/railties-4.0.2/lib/rails/rack/logger.rb:20:in `call'
2014-01-19T09:25:21.511133+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/railties-4.0.2/lib/rails/application.rb:97:in `call'
2014-01-19T09:25:21.510982+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
2014-01-19T09:25:21.510982+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.2/lib/active_support/cache/strategy/local_cache.rb:83:in `call'
2014-01-19T09:25:21.510982+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
2014-01-19T09:25:21.511133+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/railties-4.0.2/lib/rails/engine.rb:511:in `call'
2014-01-19T09:25:21.511133+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
2014-01-19T09:25:21.511133+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
2014-01-19T09:25:21.511133+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
2014-01-19T09:25:21.511133+00:00 app[web.1]:   vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
2014-01-19T09:25:21.511133+00:00 app[web.1]:   vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
2014-01-19T09:25:21.511133+00:00 app[web.1]:   vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
2014-01-19T09:25:21.511133+00:00 app[web.1]: 
2014-01-19T09:25:21.511566+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
2014-01-19T09:25:21.511566+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/railties-4.0.2/lib/rails/rack/logger.rb:20:in `block in call'
2014-01-19T09:25:21.511566+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/railties-4.0.2/lib/rails/rack/logger.rb:38:in `call_app'
2014-01-19T09:25:21.511566+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.2/lib/active_support/tagged_logging.rb:25:in `tagged'
2014-01-19T09:25:21.511566+00:00 app[web.1]: I, [2014-01-19T08:20:25.859873 #2]  INFO -- : Started GET "/favicon.ico" for 124.149.104.105 at 2014-01-19 08:20:25 +0000
2014-01-19T09:25:21.511566+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.2/lib/active_support/tagged_logging.rb:67:in `tagged'
2014-01-19T09:25:21.511566+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.2/lib/active_support/tagged_logging.rb:67:in `block in tagged'
2014-01-19T09:25:21.511133+00:00 app[web.1]: 
2014-01-19T09:25:21.511566+00:00 app[web.1]: ActionController::RoutingError (No route matches [GET] "/favicon.ico"):
2014-01-19T09:25:21.511713+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/railties-4.0.2/lib/rails/application.rb:97:in `call'
2014-01-19T09:25:21.511713+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
2014-01-19T09:25:21.511566+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2014-01-19T09:25:21.511713+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/railties-4.0.2/lib/rails/rack/logger.rb:20:in `call'
2014-01-19T09:25:21.512033+00:00 app[web.1]:   vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
2014-01-19T09:25:21.511566+00:00 app[web.1]: F, [2014-01-19T08:20:25.861261 #2] FATAL -- : 
2014-01-19T09:25:21.511713+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
2014-01-19T09:25:21.511713+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.2/lib/active_support/cache/strategy/local_cache.rb:83:in `call'
2014-01-19T09:25:21.511713+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
2014-01-19T09:25:21.511713+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/railties-4.0.2/lib/rails/engine.rb:511:in `call'
2014-01-19T09:25:21.511713+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/request_id.rb:21:in `call'
2014-01-19T09:25:21.512033+00:00 app[web.1]:   vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
2014-01-19T09:25:21.512033+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
2014-01-19T09:25:21.511713+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
2014-01-19T09:25:21.511713+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
2014-01-19T09:25:21.512033+00:00 app[web.1]:   vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
2014-01-19T09:25:21.512033+00:00 app[web.1]: 
2014-01-19T09:25:21.512033+00:00 app[web.1]: 
2014-01-19T09:25:21.512033+00:00 app[web.1]: Exiting
2014-01-19T09:25:22.825919+00:00 heroku[web.1]: Process exited with status 143
2014-01-19T07:49:39.839922+00:00应用程序[run.4729]:->0.1320s
2014-01-19T07:49:39.839922+00:00应用程序[运行.4729]:--创建表格(“注释”,{:force=>true})
2014-01-19T07:49:39.839922+00:00应用程序[run.4729]:--添加索引(“评论”[“帖子id”],{:name=>“帖子id上的索引评论”,:using=>:btree})
2014-01-19T07:49:39.839922+00:00应用程序[运行4729]:->0.0365秒
2014-01-19T07:49:39.839922+00:00应用程序[run.4729]:--创建表格(“posts”,{:force=>true})
2014-01-19T07:49:39.839922+00:00应用程序[运行.4729]:--初始化模式迁移表()
2014-01-19T07:49:39.839922+00:00应用程序[run.4729]:->1.0849s
2014-01-19T07:49:39.839922+00:00应用程序[run.4729]:->0.0030s
2014-01-19T07:49:39.839922+00:00应用程序[run.4729]:->0.0897s
2014-01-19T07:49:41.011590+00:00 heroku[run.4729]:进程已退出,状态为0
2014-01-19T07:49:41.028919+00:00 heroku[run.4729]:状态从“up”更改为“complete”
2014-01-19T08:19:28.504357+00:00 heroku[api]:通过命令“bundle exec rake db:migrate”启动进程fcamatti@gmail.com
2014-01-19T08:19:32.472345+00:00 heroku[run.8654]:使用命令“bundle exec rake db:migrate”启动进程`
2014-01-19T08:19:33.081263+00:00 heroku[run.8654]:状态从启动更改为启动
2014-01-19T08:19:36.539370+00:00 heroku[运行8654]:进程已退出,状态为0
2014-01-19T08:19:36.559509+00:00 heroku[run.8654]:状态从up更改为complete
2014-01-19T08:20:14.858681+00:00 heroku[web.1]:唯一
2014-01-19T08:20:14.858681+00:00 heroku[web.1]:状态从“向下”更改为“开始”
2014-01-19T08:20:17.912642+00:00 heroku[web.1]:使用命令“bin/rails server-p3628-e$rails_ENV”启动进程`
2014-01-19T08:20:20.280071+00:00应用程序[web.1]:[2014-01-19 08:20:20]信息WEBrick 1.3.1
2014-01-19T08:20:20.280071+00:00应用程序[web.1]:[2014-01-19 08:20:20]信息ruby 2.0.0(2013-11-22)[x86_64-linux]
2014-01-19T08:20:20.280071+00:00应用程序[web.1]:[2014-01-19 08:20:20]信息WEBrick::HTTPServer#启动:pid=2端口=3628
2014-01-19T08:20:20.797806+00:00 heroku[web.1]:状态从启动更改为启动
2014-01-19T08:20:22.002181+00:00 heroku[路由器]:at=info method=GET path=/host=scolled-hamlet-9456.herokuapp.com请求\u id=9b341ac3-c58c-489b-ad47-91076a5f762d fwd=“124.149.104.105”dyno=web.1 connect=1ms服务=88ms状态=404字节=1351
2014-01-19T08:20:25.860279+00:00 heroku[路由器]:at=info method=GET path=/favicon.ico host=shirled-hamlet-9456.herokuapp.com请求_id=76b6c4db-a957-4831-b86d-eeae8a5f25bb fwd=“124.149.104.105”dyno=web.1 connect=1ms服务=8ms状态=404字节=1351
2014-01-19T09:25:18.132575+00:00 heroku[web.1]:空转
2014-01-19T09:25:18.133586+00:00 heroku[web.1]:状态由上变下
2014-01-19T09:25:20.870101+00:00 heroku[web.1]:使用SIGTERM停止所有进程
2014-01-19T09:25:21.483722+00:00应用程序[web.1]:/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:160:in'start'
2014-01-19T09:25:21.483722+00:00 app[web.1]:/app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.2/lib/rails/commands.rb:71:in'tap'
2014-01-19T09:25:21.483924+00:00应用程序[web.1]:/app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.2/lib/rails/commands.rb:71:in`'
2014-01-19T09:25:21.483722+00:00应用程序[web.1]:[2014-01-19 09:25:21]致命信号异常:SIGTERM
2014-01-19T09:25:21.483722+00:00应用程序[web.1]:/app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/server.rb:264:在“开始”中
2014-01-19T09:25:21.483722+00:00应用程序[web.1]:/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:170:“开始时阻塞”
2014-01-19T09:25:21.483722+00:00 app[web.1]:/app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.2/lib/rails/commands/server.rb:84:in'start'
2014-01-19T09:25:21.483722+00:00应用程序[web.1]:/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:170:在“选择”中
2014-01-19T09:25:21.483722+00:00应用程序[web.1]:/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:32:in'start'
2014-01-19T09:25:21.483722+00:00应用程序[web.1]:/app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb:14:in'run'
2014-01-19T09:25:21.483924+00:00应用程序[web.1]:bin/rails:4:in'require'
2014-01-19T09:25:21.483924+00:00应用程序[web.1]:bin/rails:4:in`'
2014-01-19T09:25:21.484393+00:00应用程序[web.1]:[2014-01-19 09:25:21]信息WEBrick::HTTPServer#启动完成。
2014-01-19T09:25:21.483722+00:00应用程序[web.1]:/app/vendor/bundle/ruby/2.0.0/gems/railties-4.0.2/lib/rails/commands.rb:76:in'block-in'
2014-01-19T09:25:21.483924+00:00应用程序[web.1]:[2014-01-19 09:25:21]信息将关闭。。。
2014-01-19T09:25:21.510762+00:00应用程序[web.1]:=>启动WEBrick
2014-01-19T09:25:21.510762+00:00应用程序[web.1]:=>Rails 4.0.2应用程序在http://0.0.0.0:3628
2014-01-19T09:25:21.510762+00:00应用程序[web.1]:=>Ctrl-C关闭服务器
2014-01-19T09:25:21.510762+00:00应用程序[web.1]:=>运行“rails服务器-h”以获取更多启动选项
2014-01-19T09:25:21.510762+00:00应用程序[web.1]:F[2014-01-19T08:20:22.006714#2]致命--:
2014-01-19T09:25:21.510762+00:00应用程序[web.1]:I[2014-01-19T08:20:21.933721#2]信息--:2014-01-19 08:20:21+0000开始获取124.149.104.105的“/”
2014-01-19T09:25:21.510762+00:00应用程序[web.1]:供应商/捆绑包/ruby/2.0.0/gems/actionpack-4.0.2/lib/action\u调度/中间件/调试\u异常。rb:21:in'call'
2014-01-19T09:25:21.510762+00:00应用程序[web.1]:供应商/捆绑包/ruby/2.0.0/gems/actionpack-4.0.2/lib/action\u调度/中间件/显示异常。rb:30:in'call'
2014-01-19T09:25:21.510762+00:00应用程序[web.1]:操作控制器::路由错误(没有与[GET]“/”)匹配的路由:
2014-01-19T09:25:21.510762+00:00应用程序[web.1]:供应商/捆绑包/ruby/2.0.0/gems/railties-4.0.2/lib/rails/rack/logger.rb:38:in'call_应用程序'
2014-01-19T09:25:21.510982+00:00应用程序[网站1]:供应商/捆绑包/ruby/2.0.0/gems
QuickBlog::Application.routes.draw do
  resources :posts do
    resources :comments, :only => [:create]
  end

  # root :to => 'welcome#index'
end