From the Bundler Getting Started page:

Bundler maintains a consistent environment for ruby applications. It tracks an application’s code and the rubygems it needs to run, so that an application will always have the exact gems (and versions) that it needs to run.


1. install 

gem install bundler

2. specify dependencies in the Gemfile

3. install required gems

bundle install 

4. deploying a bundled application

Before deploying an app that uses Bundler, add your Gemfile and Gemfile.lock to source control (but ignore the .bundle folder which is machine-specific)

And then deploy automatically with Capistrano by adding this to your deploy.rb file:

require ‘bundler/capistrano’

For more info, start here:


Leave a Reply

Your email address will not be published. Required fields are marked *