最終更新:2023-06-16 (金) 00:36:25 (317d)  

bundle install
Top / bundle install

bundlerを使ってGemfileからgemをインストール

https://bundler.io/v2.4/man/bundle-install.1.html

gemのインストール先

デフォルト

プロジェクト別

  • --path=vendor/bundleを付けると、指定したパスの中にインストールしてくれる
  • This option is deprecated in favor of the path setting.
  • bundle config?

最近 (Bundler 2.1?~)

  • --path=vendor/bundleは非推奨
    [DEPRECATED] The `--path` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions.
    Instead please use `bundle config set --local path 'vendor/bundle'`, and stop using this flag