最終更新:2023-06-16 (金) 00:36:22 (287d)
Bundler
Top / Bundler
The best way to manage Ruby applications
gemのバージョン管理を行うプログラム
インストール
$ gem install bundler
コマンド
- bundle
- bundle install
- bundle update?
- bundle exec
gemのインストール先
デフォルト
- デフォルトではgem installと同じ場所にgemをインストール
プロジェクト別
最近 (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
- bundle config set --local path 'vendor/bundle'
むかし
- --path=vendor/bundleを付けると、指定したパスの中にインストールしてくれる