Manage your Ruby application's gem dependencies
Switch branches/tags
Latest commit 0132573 Oct 17, 2017 @bundlerbot bundlerbot Auto merge of #6096 - ericboehs:eb-linkify-changelog, r=colby-swandale
Link Issues and Pull Requests in the CHANGELOG

### What was the end-user problem that led to this PR?

When reviewing the CHANGELOG, it is difficult to navigate to the issue
or pull request that is relevant to the CHANGELOG item.

 ### What was your diagnosis of the problem?

The CHANGELOG should link to the referenced pull request/issue.

 ### What is your fix for the problem, implemented in this PR?

I added links to all of the issues referenced via BSD `sed`:

sed -i'' -Ee "s/#([0-9]+)/[#\1](https:\/\/\/bundler\/bundler\/issues\/\1)/g"
Failed to load latest commit information.
.github Fix typo in pull request template Jun 29, 2017
bin update rubocop to 0.50 Sep 18, 2017
doc Fix bundler update instructions in TROUBLESHOOTING Oct 6, 2017
exe Ensure deprecations become a hard error in Bundler 2 Aug 20, 2017
lib Auto merge of #6098 - akhramov:fix/doubled-message-in-verbose-mode, r… Oct 16, 2017
man remove non-ascii chars from binstubs man page Oct 15, 2017
spec Auto merge of #6098 - akhramov:fix/doubled-message-in-verbose-mode, r… Oct 16, 2017
task [Travis] Override version before installing deps Sep 7, 2017
.codeclimate.yml [CodeClimate] Ignore Rakefile Aug 2, 2016
.gitignore [Rakefile] Add support for generated files not checked into git Jun 13, 2017
.rspec Specify `--require spec_helper` in .rspec May 3, 2017
.rubocop.yml Allow to add username and password to a remote during a deployment Aug 3, 2017
.rubocop_todo.yml improve rubocop_todo.yml Sep 24, 2017
.travis.yml update ruby version to v2.3.4 to v2.3.5, v2.4.1 to v2.4.2 Sep 23, 2017 ### What was the end-user problem that led to this PR? Oct 13, 2017 Auto merge of #5611 - koic:unify_names_of_github_and_rubocop, r=colby… Apr 30, 2017 Small documentation fixes for spelling and grammar Jun 28, 2017 trailing whitespace is how this works Jun 23, 2013 collapse examples where possible Jul 21, 2017
Rakefile Auto merge of #6054 - walf443:improve_rubocop_todo, r=segiddins Oct 6, 2017
bundler.gemspec Pass gemspec directory path to Git Sep 28, 2017

Version     Build Status Code Climate Inline docs Slack

Bundler: a gem to bundle gems

Bundler makes sure Ruby applications run the same code on every machine.

It does this by managing the gems that the application depends on. Given a list of gems, it can automatically download and install those gems, as well as any other gems needed by the gems that are listed. Before installing gems, it checks the versions of every gem to make sure that they are compatible, and can all be loaded at the same time. After the gems have been installed, Bundler can help you update some or all of them when new versions become available. Finally, it records the exact versions that have been installed, so that others can install the exact same gems.

Installation and usage

To install (or update to the latest version):

gem install bundler

To install a prerelease version (if one is available), run gem install bundler --pre. To uninstall Bundler, run gem uninstall bundler.

Bundler is most commonly used to manage your application's dependencies. For example, these commands will allow you to use Bundler to manage the rspec gem for your application:

bundle init
echo 'gem "rspec"' >> Gemfile
bundle install
bundle exec rspec

See for the full documentation.


For help with common problems, see TROUBLESHOOTING.

Still stuck? Try filing an issue.

Other questions

To see what has changed in recent versions of Bundler, see the CHANGELOG.

To get in touch with the Bundler core team and other Bundler users, please see getting help.


If you'd like to contribute to Bundler, that's awesome, and we <3 you. There's a guide to contributing to Bundler (both code and general help) over in our documentation section.

While some Bundler contributors are compensated by Ruby Together, the project maintainers make decisions independent of Ruby Together. As a project, we welcome contributions regardless of the author’s affiliation with Ruby Together.


Ruby Together pays some Bundler maintainers for their ongoing work. As a grassroots initiative committed to supporting the critical Ruby infrastructure you rely on, Ruby Together is funded entirely by the Ruby community. Contribute today as an individual or (better yet) as a company to ensure that Bundler, RubyGems, and other shared tooling is around for years to come.

Code of Conduct

Everyone interacting in the Bundler project’s codebases, issue trackers, chat rooms, and mailing lists is expected to follow the Bundler code of conduct.