AWS Elastic Beanstalk
Developer Guide (API Version 2010-12-01)

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 "" gem 'sinatra' gem 'json' gem 'rack-parser'

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