启动uwsgi ruby app redmine时出现以下错误:
Thu Apr 30 03:20:14 2015 - rails app /opt/redmine/ ready
Thu Apr 30 03:20:14 2015 - non-rack rails version detected...loading thin adapter...
Thu Apr 30 03:20:14 2015 - /var/lib/gems/2.1.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in `require': cannot load such file -- thin (LoadError)
Thu Apr 30 03:20:14 2015 - from /var/lib/gems/2.1.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in `block in require'
Thu Apr 30 03:20:14 2015 - from /var/lib/gems/2.1.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:240:in `load_dependency'
Thu Apr 30 03:20:14 2015 - from /var/lib/gems/2.1.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in `require'
我已经运行'gem install thin'但这没有帮助。 有人可以帮帮我吗?
答案 0 :(得分:1)
我已经修复了这个错误,在uwsgi的redmine.ini上添加了一行:
rack = /opt/redmine/config.ru