AWS Elastic Beanstalk
Developer Guide
AWS services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon AWS.

Installing Packages with a Gemfile

Use a Gemfile file in the root of your project source to use RubyGems to install packages that your application requires.

Example Gemfile

source "https://rubygems.org" gem 'sinatra' gem 'json' gem 'rack-parser'

When a Gemfile file is present, Elastic Beanstalk runs bundle install to install dependencies.