Skip to article

Guides

Automatic sync

The posh-bundler plugin runs posh sync after bundle install and bundle update.

Install

From the project directory:

bundle plugin install posh-bundler

For all projects, run it from a directory with no Gemfile in it or above it, such as ~.

For everyone on a shared project, add plugin "posh-bundler" to the Gemfile instead.

Skip sync

POSH_AUTO_SYNC=0 bundle install

Not syncing?

The plugin doesn’t run after bundle lock, git pull, or a branch switch. Run posh sync yourself if dependencies changed.

Otherwise, check that posh-bundler appears in bundle plugin list. If it doesn’t, install it and run bundle install.

Uninstall

Run this where you installed the plugin, and remove any Gemfile line:

bundle plugin uninstall posh-bundler