What Railpack detects
Railpack inspects the repository and picks the build for Ruby on Rails; most projects need no configuration. A Dockerfile in the repository always wins.
- Gemfile with
rails - config.ru
- .ruby-version
- Builder
- Railpack (default)
- Start command
- bundle exec rails db:prepare && bundle exec rails server -b 0.0.0.0 -p $PORT
Derived by Railpack; override it in Settings → Deploy → Start command.

