我尝试在带有 nginx 的 ubuntu 16.04 服务器上安装 redmine 3.2.2(最新版本)。然后我在安装 redmine 时遇到一些错误。有人能帮我解决这个问题吗?
Setting up redmine (3.2.1-2) ...
Determining localhost credentials from /etc/mysql/debian.cnf: succeeded.
Bundler could not find compatible versions for gem "railties":
In Gemfile:
actionpack-xml_parser was resolved to 2.0.0, which depends on
railties (~> 5.x)
jquery-rails (~> 4.0) was resolved to 4.0.0, which depends on
railties (< 5.0, >= 4.2.0.beta)
rails (~> 4.2.5) was resolved to 4.2.5, which depends on
railties (= 4.2.5)
roadie-rails was resolved to 1.1.1, which depends on
railties (< 5.1, >= 3.0)
dpkg: error processing package redmine (--configure):
subprocess installed post-installation script returned error exit status 6
Errors were encountered while processing:
redmine
E: Sub-process /usr/bin/dpkg returned an error code (1)