github上で、ソースを管理しており、プロジェクトでCIを利用しているが、Circle CI
のbunlder
のversion
が
local
と一致しない(lockfile)ことで、warningのメッセージが上がっていたので、circle.yml
を作成しました。
circle.yml
rootディレクトリに、circle.yml
を追加する。
# circle.yml
machine:
ruby:
version:
2.3.3
dependencies:
pre:
- gem install bundler --pre
まずは、最小限の設定のみです。
参考
Sample circle.yml file - CircleCI