为什么红宝石会崩溃?
我正在尝试使用 git://github.com/ericpaulbishop/redmine_git_hosting.git
中的“redmine_git_hosting”
当我尝试访问它时,我在 /var/log/apache2/ 中收到错误error.log
:
/lib/redmine/scm/adapters/git_adapter.rb:26: warning: already initialized constant GIT_BIN
我可以访问Redmine网站,但是如果我刷新我得到:
/usr/share/redmine_dev/lib/redmine/scm/adapters/git_adapter.rb:26: warning: already initialized constant GIT_BIN
[ pid=31351 thr=3075225872 file=ext/apache2/Hooks.cpp:817 time=2012-02-15 15:41:08.102 ]: The backend application (process 3677) did not send a valid HTTP response; instead, it sent nothing at all. It is possible that it has crashed; please check whether there are crashing bugs in this application.
[ pid=3677 thr=-609445668 file=utils.rb:176 time=2012-02-15 15:41:08.103 ]: *** Exception NameError in application (uninitialized constant Redmine::Scm::Adapters::CommandFailed) (process 3677, thread #<Thread:0xb75931b8>):
我收到500内部错误。
从 top
我可以看到一个 Ruby 进程被终止。
我的环境是:
- Ubuntu 11.10
- PostgreSQL 8.4
- Apache2.20
- Ruby 1.8.7
- Redmine 1.3.0
- Phusion 版本 3.0.11
- Rails (2.3.14)
- Rubygems 1.6.2
I am trying to use "redmine_git_hosting" from git://github.com/ericpaulbishop/redmine_git_hosting.git
When I try to access it I get an error in /var/log/apache2/error.log
:
/lib/redmine/scm/adapters/git_adapter.rb:26: warning: already initialized constant GIT_BIN
I can access the Redmine site but then if I refresh I get:
/usr/share/redmine_dev/lib/redmine/scm/adapters/git_adapter.rb:26: warning: already initialized constant GIT_BIN
[ pid=31351 thr=3075225872 file=ext/apache2/Hooks.cpp:817 time=2012-02-15 15:41:08.102 ]: The backend application (process 3677) did not send a valid HTTP response; instead, it sent nothing at all. It is possible that it has crashed; please check whether there are crashing bugs in this application.
[ pid=3677 thr=-609445668 file=utils.rb:176 time=2012-02-15 15:41:08.103 ]: *** Exception NameError in application (uninitialized constant Redmine::Scm::Adapters::CommandFailed) (process 3677, thread #<Thread:0xb75931b8>):
I get a 500 Internal error.
From top
I can see that one Ruby process was killed.
My environment is:
- Ubuntu 11.10
- PostgreSQL 8.4
- Apache2.20
- Ruby 1.8.7
- Redmine 1.3.0
- Phusion version 3.0.11
- Rails (2.3.14)
- Rubygems 1.6.2
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这似乎与针对 Chiliproject 分支报告的错误相同:https://www.chiliproject.org /问题/828
建议的解决方案是
This appears to be the same bug as this one reported against the Chiliproject fork: https://www.chiliproject.org/issues/828
There the suggested solution was to