Nothing Special   »   [go: up one dir, main page]

Header transparent bg

Bundler provides a consistent environment for Ruby projects by tracking and installing the exact gems and versions that are needed.

Bundler is an exit from dependency hell, and ensures that the gems you need are present in development, staging, and production. Starting work on a project is as simple as bundle install.

What Can Bundler Do? New in v2.5 CLI Docs Chat With Us

Getting Started

This guide assumes that you have Ruby installed. If you do not have Ruby installed, do that first and then check back here! Any modern distribution of Ruby comes with Bundler preinstalled by default.

Getting started with bundler is easy! Specify your dependencies in a Gemfile in your project's root:

source 'https://rubygems.org'
gem 'nokogiri'
gem 'rack', '~> 2.2.4'
gem 'rspec'

Install all of the required gems from your specified sources:

$ bundle install
$ git add Gemfile Gemfile.lock

Get involved

Bundler has a lot of contributors and users, and we would love to have your help! If you have questions, join the Bundler Slack and we'll try to answer them. If you're interested in contributing (no programming skills needed), start with the contributing guide. While participating in the Bundler project, please keep the code of conduct in mind, and be inclusive and friendly towards everyone. If you think you've found a security issue, please report it via HackerOne.