Bundler
Is a dependency manager for Ruby.
Overview
Most applications you’ll see written in ruby take advantage of the functionality in the Bundler. The Bundler provides a way to create a Gemfile
that lists all your dependencies and will install them for you by running gem install
in your application directory. It is a very convenient way to work on a Ruby project with a team. When gem install
is run it will create a Gemfile.lock
file which indicates what the last set of gems install as part of the project. This is typically checked into the version control with the Gemfile.
Setup
To install run gem install bundler --pre
.
Example of a Gemfile
:
source 'https://rubygems.org'
gem 'rack', '~>1.1'
gem 'rspec', :require => 'spec'
Source ##
Source is found at github.com/sparklemotion/nokogiri.