Heroku Hereoku应用程序继续失败/崩溃,状态为1&;503安装Redmine时出错
我第一次使用Heroku,并尝试启动Rails 3.2.13应用程序,使用PostgreSQL在Cedar堆栈上使用Ruby 2.0.0。我的应用程序在本地运行得很好,但是当我推到Heroku时总是失败。我也在其他地方的专用服务器上运行过这个应用程序,所以我不确定它为什么会失败。我还增加了要调试的日志级别,这仍然是我收到的唯一详细信息Heroku Hereoku应用程序继续失败/崩溃,状态为1&;503安装Redmine时出错,heroku,ruby-on-rails-3.2,Heroku,Ruby On Rails 3.2,我第一次使用Heroku,并尝试启动Rails 3.2.13应用程序,使用PostgreSQL在Cedar堆栈上使用Ruby 2.0.0。我的应用程序在本地运行得很好,但是当我推到Heroku时总是失败。我也在其他地方的专用服务器上运行过这个应用程序,所以我不确定它为什么会失败。我还增加了要调试的日志级别,这仍然是我收到的唯一详细信息 Jul 16 15:39:48 xxx app/web.1: => Booting WEBrick Jul 16 15:39:48 xxx app/we
Jul 16 15:39:48 xxx app/web.1: => Booting WEBrick
Jul 16 15:39:48 xxx app/web.1: => Rails 3.2.13 application starting in production on http://0.0.0.0:52808
Jul 16 15:39:48 xxx app/web.1: => Call with -d to detach
Jul 16 15:39:48 xxx app/web.1: => Ctrl-C to shutdown server
Jul 16 15:39:48 xxx app/web.1: Exiting
Jul 16 15:39:49 xxx Heroku/web.1: State changed from starting to crashed
Jul 16 15:39:50 xxx heroku/web.1: Process exited with status 1
Jul 16 15:39:58 xxx heroku/router: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=xxx.herokuapp.com fwd="" dyno= connect= service= status=503 bytes=
Jul 16 15:39:58 xxx heroku/router: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=xxx.herokuapp.com fwd="" dyno= connect= service= status=503 bytes=
Jul 16 15:40:06 xxx heroku/router: at=error code=H10 desc="App crashed" method=GET path=/ host=xxx.herokuapp.com fwd="" dyno= connect= service= status=503 bytes=
谢谢。想明白了
这些问题与Rails2与Rails3.2插件目录问题的混淆错误有关。显然,Heroku将文件放在vendor/plugins目录中,即使没有文件
我不得不在Redmine environment.rb文件中注释掉我的“exit 1”行
更多信息和信用信息请点击此处: