Redmine:安装错误

Redmine: Installation error

我想在我的 Raspberry Pi2 上安装 Redmine。当我尝试 运行 命令 sudo bundle install --without development test rmagic 我得到这个作为输出:

Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine. The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x64-mingw32, x86-mswin32, java. To add those platforms to the bundle, run bundle lock --add-platform x86-mingw32 x64-mingw32 x86-mswin32 java. The dependency activerecord-jdbc-adapter (~> 1.3.2) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for java. To add those platforms to the bundle, run bundle lock --add-platform java. The dependency activerecord-jdbcmysql-adapter (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for java. To add those platforms to the bundle, run bundle lock --add-platform java. Fetching gem metadata from https://rubygems.org/.. Retrying dependency api due to error (2/4): Bundler::HTTPError Network error while fetching https://index.rubygems.org/api/v1/dependencies?gems=actionpack-xml_parser%2Cactiverecord-jdbc-adapter%2Cactiverecord-jdbcmysql-adapter%2Ccapybara%2Ccoderay%2Ci18n%2Cjquery-rails%2Cmime-types%2Cmimemagic%2Cminitest%2Cmocha%2Cmysql2%2Cnet-ldap%2Cnokogiri%2Cprotected_attributes%2Crack-openid%2Crails%2Crails-dom-testing%2Crails-html-sanitizer%2Crbpdf%2Crdoc%2Credcarpet%2Crequest_store%2Crmagick%2Croadie-rails%2Cruby-openid%2Cselenium-webdriver%2Csimplecov%2Ctzinfo-data%2Cyard.......... Fetching version metadata from https://rubygems.org/... Fetching dependency metadata from https://rubygems.org/.. Resolving dependencies........................... Using erubis 2.7.0 Using bundler 1.14.6 Gem::RemoteFetcher::UnknownHostError: no such name (https://rubygems.org/gems/rake-12.0.0.gem) An error occurred while installing rake (12.0.0), and Bundler cannot continue. Make sure that gem install rake -v '12.0.0' succeeds before bundling.

Gem::RemoteFetcher::UnknownHostError: no such name (https://rubygems.org/gems/i18n-0.7.0.gem) An error occurred while installing i18n (0.7.0), and Bundler cannot continue. Make sure that gem install i18n -v '0.7.0' succeeds before bundling.

当我想 运行 gem install rake -v '12.0.0'gem install i18n -v '0.7.0' 命令没有启动时,我在行的开头只有 > 符号,就像什么时候我想通过 CLI 在 mySQL 上编辑一些内容。

我错过了什么?我没有在文档中找到这个。我安装后 these steps.

在 shell 中按 Enter 后在开头得到一个以 > 开头的新行通常是引用不平衡的标志。您确定输入的 gem install 命令正确吗?

您在 运行 bundler 时的错误看起来像是网络问题。很可能是您这边,但 rubygems.org 过去曾出现过几次连接问题,因此问题并非完全不可能出在他们这边或介于两者之间。几个小时后重试,它应该可以正常工作。

我的 Raspberry space 没有足够的可用空间。清理掉一些不需要的文件后,安装起来很容易