所以,我只是想让一个简单的Heroku服务器运行Dashing。到目前为止,我已经致力于heroku的潇洒和gemlock。每当我打开网站时,都会收到错误消息。我的日志给了我这个:
2015-03-14T04:05:37.617789 + 00:00 heroku [api]:@ gmail.com部署2447a74 2015-03-14T04:05:37.617789 + 00:00 heroku [api]:由@ gmail.com创建的v8版本 2015-03-14T04:05:38.099916 + 00:00 heroku [web.1]:状态由崩溃变为开始 2015-03-14T04:05:41.184158 + 00:00 heroku [web.1]:使用命令
bundle exec thin start -R config.ru -e pr oduction -p 12627
启动流程 2015-03-14T04:05:43.367997 + 00:00 app [web.1]:/app/vendor/bundle/ruby/2.0.0/gems/thin-1.6.3/lib/rack/adapter/loader.rb :32 :在read': No such file or directory - config.ru (Errno::ENOENT) 2015-03-14T04:05:43.368046+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/thin-1.6.3/lib/rack/adapter/load er.rb:32:in
加载' 2015-03-14T04:05:43.368055 + 00:00 app [web.1]:来自/app/vendor/bundle/ruby/2.0.0/gems/thin-1.6.3/lib/thin/runner.rb: 20 0:在run_command' 2015-03-14T04:05:43.368051+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/thin-1.6.3/lib/thin/controllers/ controller.rb:182:in
load_rackup_config' 2015-03-14T04:05:43.368053 + 00:00 app [web.1]:来自/app/vendor/bundle/ruby/2.0.0/gems/thin-1.6.3/lib/thin/controllers/ controller.rb:72:start' 2015-03-14T04:05:43.368064+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/thin-1.6.3/bin/thin:6:in
' 2015-03-14T04:05:43.368066 + 00:00 app [web.1]:来自/app/vendor/bundle/ruby/2.0.0/bin/thin:23:inload' 2015-03-14T04:05:43.368062+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/thin-1.6.3/lib/thin/runner.rb:15 6:in
运行!&# 39; 2015-03-14T04:05:43.368069 + 00:00 app [web.1]:来自/app/vendor/bundle/ruby/2.0.0/bin/thin:23:in`' 2015-03-14T04:05:44.164461 + 00:00 heroku [web.1]:状态从开始变为崩溃 2015-03-14T04:05:44.157004 + 00:00 heroku [web.1]:进程退出状态1 2015-03-14T04:06:01.687293 + 00:00 heroku [router]:at = error code = H10 desc =" App崩溃" method = GET path =" /"主机=太平洋d awn-3700.herokuapp.com request_id = 902320e9-1789-4099-94b2-8b4431d59495 fwd =" 66.190.95.133" dyno = connect = service = statu s = 503字节= 2015-03-14T04:06:02.015965 + 00:00 heroku [router]:at = error code = H10 desc =" App崩溃" method = GET path =" /favicon.ico"居屋 t = pacific-dawn-3700.herokuapp.com request_id = 6563d675-9732-4a21-84f4-c486fb6d792e fwd =" 66.190.95.133" dyno = connect = ser vice = status = 503 bytes =
从未创建过config.ru文件...我是Ruby和Dashing以及Heroku的新手。我甚至尝试创建一个空白的config.ru,但更多的错误发生...
答案 0 :(得分:0)
以某种方式在另一个目录中找到配置文件。弹出它,它的工作原理!