Skip to content
Search

Bundler

lastmod 2025-12-03created 2015-02-095 edits

Bundler manages a consistent environment for Ruby applications. Bundler tracks the application code and the RubyGems needed to run it, so that the application always uses the exact gems and versions it needs when it runs.

Bundler makes it easy to share code across development, staging, and production machines. You surely already know how to share an application or gem: push it to GitHub and clone it wherever you need it. Bundler makes it easy to resolve the dependencies an application needs to start up and run without errors.

How to install

You can install it using gem as follows.

$ gem install bundler

Gemfile

Example

Open the Gemfile in the root of the Rails project and add the following,

# 회원인증 및 권한설정을 위한 젬
gem 'devise'     # 회원가입 및 인증
gem 'rolify'     # role 관리
gem 'authority'  # 권한설정

# 페이지 뷰를 깔끔하게 보이도록 하기 위해서 아래의 두 젬을 추가로 설치한다.
gem 'bootstrap-sass'
gem 'simple_form'

# 개발 모드에서 이메일을 보내않고 브라우저에서 미리보기한는 젬
gem 'letter_opener', group: :development

then run bundle install.

$ bundle install

See also

Favorite site

author Zer0 sitemap