1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

werckerがbundle installで止まったので調べた

Posted at

最終的な修正

  • wercker.ymlboxrubyからrvmに変更
  • version指定を2.0.0に(たぶん動くrubyのverならどれでもいい。2.1.2はだめだった。)

経緯

久しぶりにwercker動かしてみたら下記エラーで止まった。

Gemfile found. Start bundle install.
bundler gem is available, and will not be installed by this step
type bundle: bundle is /usr/local/bin/bundle
bundle version: Bundler version 1.3.0
bundle install --path /cache/bundle-install/ --retry 3
Unknown switches '--retry'

ググってみたらissueを発見
bundle install fails on versions before 1.4.0

こっちを見てね。と書いてあった先に
「boxをrubyの新しいやつに変えてね。rvmとか」と書いてあったので変更。

wercker.yml更新して再度動かすも、

An error occurred while installing json (1.8.1), and Bundler cannot continue.

と出るので、versionを2.1.2指定して再挑戦。
しかし2.1.2は無いらしく

ruby-2.1.2 is not installed.

指定を2.0.0にすると通った。

1
1
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
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?