bundler Ruby

Estimated reading time: 1 minute

bundler

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

  • install bundler in local machine

gem install bundler

  • your project directory

bundle install

gemfile

bundle init

source 'https://rubygems.org' do
  # Gems here
end
ruby