Bundler
Ruby 2.6 から標準添付ライブラリになっている
$ bundle init
カレントディレクトリに Gemfile を作成する
$ bundle list
$ bundle install
Gemfile.lock ができる
サーバ起動中に$ bundle installした場合は、サーバを再起動する必要がある(現場Rails P87)
v2.2 から、Gemfile.lock のPLATFORMS にrubyではなく OS が記録されるようになった
テスト環境・production の OS も追加しておく必要がある
code:sh
is x86_64-linux. Add the current platform to the lockfile with `bundle lock
--add-platform x86_64-linux` and try again.