我想在我的Raspberry Pi2上安装Redmine。当我试图运行命令sudo bundle install --without development test rmagic
我得到这个作为输出:Redmine:安装错误
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, runbundle 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, runbundle 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 thatgem 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。
您的覆盆子是否可以访问互联网? – Uzbekjon
是的,我克隆了官方仓库的Redmine目录 – Feralheart
你是如何在你的pi上安装ruby的?从头编译? RVM?还要别的吗? – Jeremie