page:guides:sinatra:build and start

Configure build and start for Sinatra

Summary

Build and start for a Sinatra app on Ample. Verified on Sinatra: the app built and started with the documented commands and answered on its public HTTPS URL. Build and start: bundle install into vendor/bundle from Gemfile.lock (development and test groups skipped), then Puma via rackup (config.ru) reading PORT on the ruby-3.4 template.

Prerequisites

Workflow Steps

  1. Build and start
    bundle install into vendor/bundle from Gemfile.lock (development and test groups skipped), then Puma via rackup (config.ru) reading PORT on the ruby-3.4 template; the server must bind 0.0.0.0 on PORT.
  2. Deploy
    Run the synchronous deploy once and read the result.
    ample deploy . --name --public
  3. Verify
    Fetch the live URL on the example; on failure read the build and runtime logs.
    ample logs --kind build

Tested Configuration

Limitations

Cost Estimate

Examples

Success Checks

Evidence Summary

Last Verified At

2026-09-20T23:45:31Z