Bundler Path Helper
bundler-path-helper is a Z shell function that will automatically add
and remove bundled gems and binaries to
respectively. This means that you will no longer need to use
when working on your project.
If the current bundle has gem collections for multiple ruby versions,
bundler-path-helper will attempt to guess the most appropriate version
based on the current ruby interpreter.
- You use
- Your have a properly configured
Clone the respository somewhere.
$ git clone git://github.com/lordzork/zsh-bundler-path-helper.git ~/.zsh/plugins/bundler-path-helper
Alternatively, you can create a submodule.
$ git submodule add git://github.com/lordzork/zsh-bundler-path-helper.git ~/.zsh/plugins/bundler-path-helper
functions subdirectory to your
$fpath. This should be done in your
Make sure the function is called from your
$ echo "bundler_paths" >> ~/.zsh/.zshrc
bundler-path-helpershould coexist peacefully with RVM since it only activates if the current directory's bundle was installed into a manually specified location. This isn't something you would typically do if you're using an RVM gemset.
bundler-path-helperis run immediately after every command. It is lightweight enough that you shouldn't notice any additional lag.