Last Updated: February 25, 2016
·
1.749K
· mlen

Always install gems to vendor/bundler

Default gem installation path for bundler is $GEM_HOME, but it can be overridden by bundlers config files or command line option. The command below allows to set gem installation path globally.

bundle config --global path vendor/bundler

Now bundle install will install gems into ./vendor/bundler subdirectory of the project.