我正在进入我的Docker容器运行bundle install命令,但出现以下错误
root@internal:/srv/deviceservice# bundle install
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.
Fetching source index from https://gems.contribsys.com/
Fetching source index from https://gems.contribsys.com/
Fetching gem metadata from https://rubygems.org/..........
Fetching source index from https://rubygems.org/
Resolving dependencies................
RubyGems 1.8.23 is not threadsafe, so your gems will be installed one at a time. Upgrade to RubyGems 2.1.0 or higher to enable parallel gem installation.
Fetching rake 10.4.2
Zlib::DataError: invalid distance too far back
An error occurred while installing rake (10.4.2), and Bundler cannot continue.
Make sure that `gem install rake -v '10.4.2'` succeeds before bundling.
In Gemfile:
coffee-rails was resolved to 3.2.2, which depends on
railties was resolved to 3.2.21, which depends on
rake
root@internal:/srv/deviceservice# gem install rake -v '10.4.2'
ERROR: While executing gem ... (Zlib::DataError)
invalid distance too far back
root@internal:/srv/deviceservice#
我的ruby版本是1.9.3,rails版本是“3.2.21”。我在互联网上找不到任何与这个问题相关的东西。知道这个错误是什么吗?
1条答案
按热度按时间2q5ifsrm1#
这意味着数据在传输过程中或在源位置损坏。