This document describes how Ruby apps are detected and built. It includes details on components and configuration of build images.
The Ruby toolset is run when one of following conditions met:
Gemfile
file is found in root of repo.Gemfile.lock
orconfig.ru
files and iis startup files are found at root of repo.
The following process is applied for each build:
- Run custom command or script if specified by
PRE_BUILD_COMMAND
orPRE_BUILD_SCRIPT_PATH
. - Run
gem install bundler
comamnd to install bundler tool. - Run
bundle install
command. - Run custom command or script if specified by
POST_BUILD_COMMAND
orPOST_BUILD_SCRIPT_PATH
.
The latest version of gem is used to install dependencies.
The Ruby project defines this release schedule. Oryx supports all actively supported releases (2.5.8, 2.6.6, 2.7.1, 2.7.2, 3.0.0).
We will update the patch
version of a release at least once every 3 months,
replacing the previous patch
version for that release.