LoginSignup
66
66

More than 5 years have passed since last update.

bundle install するときに vendor/bundle を省略する方法

Last updated at Posted at 2012-12-26

bundle install するときに毎度 vendor/bundle を付け加えるのが面倒な人達へ

~/.bundle/config を作り下記の内容を書いておくとok

---
BUNDLE_PATH: ./vendor/bundle

Bundler は bundle コマンドを実行する際のカレントディレクトリから参照できる .bundle/config を local な設定
~/.bundle/config にある設定を global として拾ってくれる

なお、設定は local の方が優先されるっぽい

また bundle config で設定の内容を確認できる

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