LoginSignup
1
0

More than 5 years have passed since last update.

Werckerで "Bundler failing with index file .idx too small error" といったエラーが出た場合の対処

Posted at

状況

普段Rails4系のアプリでWerckerをCIとして使っています。
WerckerはDocker版を使用しています。

そのBuild Stepで

Bundler failing with index file .idx too small error

といったエラーがたくさんでて、結果的に

Retry exceeds max retries

といったエラーでBuildが止まりました。

対応

このエラーは報告されていますが、まだ解決されていないようです。
ただ、対応としては、cacheを消せばいいとのこと。

実際消してやってみるとすんなりとおりました。

でも毎回消す必要が出てしまうので、werckerのstepに入れ込みたいです。

    - script:
        name: Clear bundle cache
        code: rm -rf /pipeline/cache/bundle-install/ruby/2.3.0/cache/bundler/git/*

↑のパスは各自のパスに直してください。

ただ、これをすることで CI での Load は上がるかもしれないとも言われています。(現在これといって問題は感じていませんが)

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0